PREFACE

JAVASCRIPT IS THE MOST POPULAR programming language in the world. It is used on all major Internet sites, and even those not so important. Whether you make a purchase from an online retailer, manage your funds using your bank's website, visit a news site to get caught up on current events, or simply read a blog written by one of the millions of bloggers worldwide, you have experienced JavaScript in some way.

Despite this popularity, there has always been some form of confusion regarding JavaScript. Some claim, because of its name, that it's a light version of Java, a programming language originally developed by Sun and now owned by Oracle. This is not the case at all. While JavaScript's syntax is similar to Java's, JavaScript is its own language used primarily to program the web pages you visit daily using a web browser. Its purpose is to provide interactivity for the user — making the web page or web application feel like a conventional application running on your computer.

JavaScript is a simple, yet complex, object-oriented language. While getting started with JavaScript takes little time, it can take years to master the language. And even then, masters of the language still find themselves learning something new about it.

This book aims to teach you JavaScript, to put you on the right path so that you can use the language to add interactivity to your web pages and applications. Don't worry if you don't know how to program. This book teaches you JavaScript from the very ...

Get JavaScript® 24-Hour Trainer now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.