Chapter 1: Understanding JavaScript Basics

In This Chapter

arrow.png Understanding JavaScript’s role in web programming

arrow.png Adding JavaScript to a page

This minibook is all about JavaScript and its place in building web applications. JavaScript is a very powerful language, and you can use it to add great features to enhance the user experience. In this chapter, we tell you a little bit about the types of interactivity that you can add to a web page with JavaScript and then show you how to add JavaScript to a page.

In the next chapter, we show you how to use JavaScript to perform some very basic programming functions, and then we follow that with a look at more practical items with JavaScript.

Viewing the World of JavaScript

JavaScript is used for web programming to enhance or add to the user experience when using a web page. This section looks at some of the aspects of JavaScript that will help you understand the language and give you a good foundation upon which you’ll be able to really make your web pages stand out.

JavaScript isn’t Java

Don’t be confused by the name. JavaScript has absolutely nothing to do with Java — the coffee or the programming language. JavaScript’s name came about because marketing folks wanted to latch onto the “cool” factor back when the Java programming language ...

Get PHP, MySQL, JavaScript & HTML5 All-in-One For Dummies 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.