Go from beginner to builder quickly with this hands-on JavaScript guide

Coding with JavaScript For Dummies provides easy, hands-on instruction for anyone looking to learn this popular client-side language. No experience? No problem! This friendly guide starts from the very beginning and walks you through the basics, then shows you how to apply what you’ve learned to real projects. You’ll start building right away, including web page elements and simple applications, so you can immediately see how JavaScript is used in the real world. Online exercises allow you to test your code and expand your skills, and the easy-to-follow instruction provides step-by-step guidance toward understanding the JavaScript syntax, applications, and language.

JavaScript enhances static web pages by providing dynamic elements that can adapt and react to user action. It’s a need-to-know tool for aspiring web designers, but anyone can benefit from understanding this core development language. Coding with JavaScript For Dummies takes you from beginner to builder quickly as you:

  • Learn what JavaScript does, how it works, and where to use it
  • Master the core elements of JavaScript and immediately put it to work
  • Build interactive web elements and try out your code online
  • Create basic applications as you apply JavaScript to the app development workflow

Anytime a website responds to your movement around the screen, that’s JavaScript. It makes websites more functional, more beautiful, and more engaging, and your site visitors will demand nothing less. If you want to build a better website, you need JavaScript. If you need JavaScript, Coding with JavaScript For Dummies gets you started off quickly and painlessly, with plenty of hands-on practice.

The book is everywhere!

book partyOur book has been out for about 3 weeks now! We held some parties and talks, we’re reaching out to local Meetup groups to schedule more parties and talks, and we’re starting to get some (really good!) reviews.

Thank you for all of your support. If you have any questions about the book or if you’d like us to come talk to your group, get in touch!

If you haven’t purchased the book yet, now’s your chance! Follow this link to go to Amazon and save $7.77 on it!



Chapter 7

Page 101: In the first sentence on the page, there is an extra ellipsis between for and in. The sentence should read: Listing 7-1 shows a program that adds numbers together. It works great and does exactly what it’s supposed to do, using a for…in loop (see Chapter 6).

Page 104: There should be a space between new and Date() in the code listing.

var rightNow = new Date();

Page 106: A paragraph is repeated before and after the code block near the bottom of the page. Remove the first instance of the paragraph starting with:

“When you call a function, you include data (arguments) in the places where the function definition has parameters.”

Page 111 In listing 7-9, The middle parameter of the for loops should be a lowercase i, rather than uppercase.

Chapter 4

Page 62: In the listing, there’s a semicolon missing after the empty variable declaration. It should read:

var bestAlbumsByGenre = [];

Page 62: In the final code block on the page, there shouldn’t be an underscore or a semicolon in the comment. It should read:

bestAlbumsByGenre[0][1]; // returns “Patsy Cline:Sentimentally Yours”

Listing 4-3 Where it says indexof, it should actually be indexOf