Book Description
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 informit.com/register 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
中文:
书名:Sams Teach Yourself JavaScript in 24 Hours, 6th Edition
New coverage of ECMAScript 6
在不超过一小时的24节课中,SAMS在24小时内自学JavaScript,帮助您学习使用JavaScript语言编程的基础知识。
这本书是为没有编程经验的初学者设计的,这本书的简单、循序渐进的方法向您展示了如何使用JavaScript为您的网页添加广泛的交互功能和效果。
每一课都建立在你已经学到的基础上,为你在现实世界中的成功奠定了坚实的基础。
循序渐进的说明仔细地指导您完成最常见的JavaScript编程任务。
实际操作的例子告诉你如何应用你所学到的东西。
Quizzes and exercises help you test your knowledge and stretch your skills.
备注和提示指出了快捷方式和解决方案。
购买仅需10美元即可升级到本书的在线学习实验室版。详情请见内页。
Learn how to…
- 使用JavaScript构建动态、交互的网页
- Debug scripts
- Create scripts that work in all browsers
- Write clear, reliable, and reusable code
- Use object-oriented programming techniques
- 使用DOM编写脚本
- Access JSON data
- 使用HTML5和CSS3
- Leverage the popular jQuery library
- Control CSS with simple JavaScripts
- Read and write cookies
- 现在使用一些新的ECMAScript功能
- Get started with frameworks such as AngularJS
- Build browser add-ons and extensions
在informit.com/Register上注册您的图书,以便在更新、下载和更正可用时方便地访问它们。
Who This Book Is For
- 这些人至少对HTML和网页设计有基本的了解,并希望继续为您的页面添加一些额外的互动性。
- 那些目前使用另一种编程语言编写代码并希望了解JavaScript可以为您的军火库添加哪些额外功能的用户
- 从未做过任何计算机编程的人。在使用本书之前,请先浏览一本HTML入门读物。你不需要是一名HTML专家才能使用JavaScript,但应该有一个基本的理解。
目录表
Part I: First Steps with JavaScript
1小时1.Java脚本简介
小时2.编写简单的脚本
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
第7小时:程序控制
第三部分:对象
Hour 8. Object-Oriented Programming
第9小时.使用DOM编写脚本
10小时。见见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
第14小时:使用图书馆
15小时。深入了解jQuery
第16小时:jQuery UI用户界面库
第17小时:使用jQuery的AJAX
第六部分:高级主题
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
24小时。JavaScript单元测试
第九部分:附录
Appendix A. Tools for JavaScript Development
Appendix B. JavaScript Quick Reference
评论前必须登录!
注册