Chapter 1

An Overview of JavaScript

IN THIS CHAPTER

Bullet Understanding programming in general and JavaScript in particular

Bullet Getting a taste of what you can (and can’t) do with JavaScript

Bullet Learning the tools you need to get coding

Bullet Adding JavaScript code to a web page

Bullet Getting acquainted with the all-important console

What’s in your hands, I think and hope, is intelligence: the ability to see the machine as more than when you were first led up to it, that you can make it more.

— ALAN PERLIS

When we talk about web coding, what we’re really talking about is JavaScript. Yep, you need HTML and CSS to create a web page, and you need tools such as PHP and MySQL to convince a web server to give your page some data, but the glue — and sometimes the duct tape — that binds all these technologies is JavaScript. The result is that JavaScript is now (and has been for a while) the default programming language for web development. If you want to control a page using code (and I know you do), you must use ...

Get Web Coding & Development All-in-One For Dummies, 2nd Edition 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.