Make the most of JavaScript — even if you’ve never programmed anything before. This book is the fastest way to learn JavaScript and use it together with CSS3 and HTML5 to create powerful web and mobile experiences. Learn how to do what you want, the way you want, one incredibly easy step at a time. JavaScript has never been this simple!
What you’ll learn:
* Learn why JavaScript is awesome
* Organize your code with variables
* Understand how functions make your code reusable
* Use the popular if/else statement to help make a decision in code
* Learn about switch statements and when to use them
* Work with for, while, and do…while loops
* Learn how to use global and local scope
* Understand what closures are
* Learn about the various places your code can live
* Understand how to write comments and good commenting practices
* Learn about the basic types of objects you’ll run into in JavaScript
* Find out that pizza has an educational value beyond just being deliciously awesome
* Understand how text is treated in JavaScript
* Learn how to perform common string operations
* Use arrays to handle lists of data
* Learn to create custom objects