Go from beginner to builder quickly with this hands-on Java Script guide
Coding with Java Script 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 Java Script 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 Java Script syntax, applications, and language.
Java Script 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 Java Script For Dummies takes you from beginner to builder quickly as you:
* Learn what Java Script does, how it works, and where to use it
* Master the core elements of Java Script and immediately put it to work
* Build interactive web elements and try out your code online
* Create basic applications as you apply Java Script to the app development workflow
Anytime a website responds to your movement around the screen, that’s Java Script. 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 Java Script. If you need Java Script, Coding with Java Script For Dummies gets you started off quickly and painlessly, with plenty of hands-on practice.
Daftar Isi
Introduction 1
Part I: Getting Started with Java Script 5
Chapter 1: The World’s Most Misunderstood Programming Language 7
Chapter 2: Writing Your First Java Script Program 19
Chapter 3: Working with Variables 39
Chapter 4: Understanding Arrays 55
Chapter 5: Working with Operators, Expressions, and Statements 67
Chapter 6: Getting into the Flow with Loops and Branches 81
Part II: Organizing Your Java Script 95
Chapter 7: Getting Functional 97
Chapter 8: Making and Using Objects 117
Part III: Java Script on the Web 131
Chapter 9: Controlling the Browser with the Window Object 133
Chapter 10: Manipulating Documents with the DOM 147
Chapter 11: Using Events in Java Script 169
Chapter 12: Integrating Input and Output 181
Chapter 13: Working with CSS and Graphics 195
Part IV: Beyond the Basics 211
Chapter 14: Searching with Regular Expressions 213
Chapter 15: Understanding Callbacks and Closures 225
Chapter 16: Embracing AJAX and JSON 237
Part V: Java Script and HTML5 253
Chapter 17: HTML5 APIs 255
Chapter 18: j Query 271
Part VI: The Part of Tens 289
Chapter 19: Ten Java Script Frameworks and Libraries to Learn Next 291
Chapter 20: Ten Common Java Script Bugs and How to Avoid Them 303
Chapter 21: Ten Online Tools to Help You Write Better Java Script 313
Index 325
Tentang Penulis
Chris Minnick is an accomplished author, trainer, and web developer who has worked on web and mobile projects for both small and major businesses. Eva Holland is an experienced writer and trainer who has designed and taught online, in-person, and video courses. They are cofounders of Watz This?