Sams Teach Yourself JavaScript in 24 Hours, 6th Edition Front Cover

Sams Teach Yourself JavaScript in 24 Hours, 6th Edition

  • Length: 416 pages
  • Edition: 6
  • Publisher:
  • Publication Date: 2015-06-19
  • ISBN-10: 067233738X
  • ISBN-13: 9780672337383
  • Sales Rank: #865840 (See Top 100 Books)

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…

  • Use JavaScript to build dynamic, interactive web pages
  • Debug scripts
  • Create scripts that work in all browsers
  • Write clear, reliable, and reusable code
  • Use object-oriented programming techniques
  • Script with the DOM
  • Access JSON data
  • Work with HTML5 and CSS3
  • Leverage the popular jQuery library
  • Control CSS with simple JavaScripts
  • Read and write cookies
  • Use some of the new ECMAScript features today
  • Get started with frameworks such as AngularJS
  • Build browser add-ons and extensions

Register your book at for convenient access to updates, downloads, and corrections as they become available.

Who This Book Is For

  • Those who have at least a basic understanding of HTML and web page design in general and want to move on to adding some extra interactivity to your pages.
  • Those who currently code in another programming language and want to see what additional capabilities JavaScript can add to your armory
  • Someone who has never done any computer programming. Browse through an HTML primer before using this book. You don’t need to be an HTML expert to use JavaScript but should have a basic understanding.

Table of Contents

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

To access the link, solve the captcha.