New coverage of ECMAScript 6
In just 24 lessons of one hour or less, Sams Teach Yourself JavaScript in 24 Hours helps you learn the fundamentals of programming using the JavaScript language.
Designed for beginners with no previous programming experience, this book’s straightforward, step-by-step approach shows you how to use JavaScript to add a wide array of interactive features and effects to your web pages.
Every lesson builds on what you’ve already learned, giving you a rock-solid foundation for real-world success.
Step-by-step instructions carefully walk you through the most common JavaScript programming tasks.
Practical, hands-on examples show you how to apply what you learn.
Quizzes and exercises help you test your knowledge and stretch your skills.
Notes and tips point out shortcuts and solutions.
Upgrade to the online Learning Lab edition of this book for just $10 with purchase. See inside for details.
Learn how to…
Register your book at informit.com/register for convenient access to updates, downloads, and corrections as they become available.
Who This Book Is For
Part I: First Steps with JavaScript
Hour 1. Introducing JavaScript
Hour 2. Writing Simple Scripts
Hour 3. Using Functions
Hour 4. DOM Objects and Built-in Objects
Part II: Cooking with Code
Hour 5. Numbers and Strings
Hour 6. Arrays
Hour 7. Program Control
Part III: Objects
Hour 8. Object-Oriented Programming
Hour 9. Scripting with the DOM
Hour 10. Meet JSON
Part IV: HTML and CSS
Hour 11. JavaScript and HTML5
Hour 12. JavaScript and CSS
Hour 13. Introducing CSS3
Part V: Using JavaScript Libraries
Hour 14. Using Libraries
Hour 15. A Closer Look at jQuery
Hour 16. The jQuery UI User Interface Library
Hour 17. Ajax with jQuery
Part VI: Advanced Topics
Hour 18. Reading and Writing Cookies
Hour 19. Coming Soon to JavaScript
Hour 20. Using Frameworks
Hour 21. JavaScript Beyond the Web Page
Part VII: Learning the Trade
Hour 22. Good Coding Practice
Hour 23. Debugging Your Code
Hour 24. JavaScript Unit Testing
Part IX: Appendices
Appendix A. Tools for JavaScript Development
Appendix B. JavaScript Quick Reference