JavaScript Absolute Beginner's Guide

Kirupa Chinnathambi

  • 出版商: QUE
  • 出版日期: 2016-07-08
  • 售價: $1,330
  • 貴賓價: 9.5$1,264
  • 語言: 英文
  • 頁數: 416
  • 裝訂: Paperback
  • ISBN: 0789758067
  • ISBN-13: 9780789758064
  • 相關分類: JavaScript
  • 海外代購書籍(需單獨結帳)

商品描述

JavaScript Absolute Beginner's Guide

No experience necessary!


Make the most of JavaScript -- even if you've never programmed anything before. This book is the fastest way to learn JavaScript and use it together with CSS3 and HTML5 to create powerful web and mobile experiences. Learn how to do what you want, the way you want, one incredibly easy step at a time. JavaScript has never been this simple!


This is the easiest, most practical beginner’s guide to programming JavaScript with simple, reliable instructions for doing everything you really want to do! Here’s a small sample of what you’ll learn:

  • Learn why JavaScript is awesome
  • Organize your code with variables
  • Understand how functions make your code reusable
  • Use the popular if/else statement to help make a decision in code
  • Learn about switch statements and when to use them
  • Work with for, while, and do...while loops
  • Learn how to use global and local scope 
  • Understand what closures are 
  • Learn about the various places your code can live 
  • Understand how to write comments and good commenting practices
  • Learn about the basic types of objects you'll run into in JavaScript
  • Find out that pizza has an educational value beyond just being deliciously awesome
  • Understand how text is treated in JavaScript 
  • Learn how to perform common string operations
  • Use arrays to handle lists of data
  • Learn to create custom objects
Purchase of JavaScript Absolute Beginner's Guide in any format includes free access to the online Web Edition, which provides several special features to help you learn:
  • The complete text of the book online
  • Short videos by the author introducing each chapter
  • Interactive quizzes to test your understanding of the material
  • Updates and corrections as they become available
This Web Edition can be viewed on all types of computers and mobile devices with any modern web browser that supports HTML5.

Contents at a Glance


1 Hello, World!

Part I: The Basic Stuff
2 Values and Variables
3 Functions
4 Conditional Statements: If, Else, and Switch
5 Meet the Loops: For, While, and Do…While!
6 Timers
7 Variable Scope
8 Closures
9 Where Should Your Code Live?
10 Commenting Your Code

Part II: It’s an Object-Oriented World
11 Of Pizza, Types, Primitives, and Objects
12 Strings
13 When Primitives Behave Like Objects
14 Arrays
15 Numbers
16 A Deeper Look at Objects
17 Extending Built-in Objects
18 Booleans and the Stricter === and !== Operators
19 Null and Undefined
20 Immediately Invoked Function Expressions

Part III: Working with the DOM
21 JS, The Browser, and The DOM
22 Finding Elements in the DOM
23 Modifying DOM Elements
24 Styling Your Content
25 Traversing the DOM
26 Creating and Removing DOM Elements
27 In-Browser Developer Tools

Part IV: Dealing with Events
28 Events
29 Event Bubbling and Capturing
30 Mouse Events
31 Keyboard Events
32 Page Load Events and Other Stuff
33 Handling Events for Multiple Elements
34 Conclusion

商品描述(中文翻譯)

《JavaScript絕對初學者指南》

無需經驗!

充分利用JavaScript,即使您以前從未編寫過任何程式。本書是學習JavaScript並與CSS3和HTML5一起創建強大的網頁和移動體驗的最快方法。一步一步地學習如何以您想要的方式做您想要的事情,這是JavaScript從未如此簡單!

這是最簡單、最實用的初學者指南,提供簡單可靠的指導,讓您真正想做的事情都能做到!以下是您將學到的一小部分內容:

- 了解為什麼JavaScript很棒
- 使用變數組織您的程式碼
- 理解函數如何使您的程式碼可重用
- 使用流行的if/else語句在程式碼中做出決策
- 了解何時使用switch語句
- 使用for、while和do...while迴圈
- 學習如何使用全域和區域範圍
- 理解閉包是什麼
- 了解程式碼可以存在的各種位置
- 學習如何撰寫註解和良好的註解慣例
- 了解在JavaScript中遇到的基本物件類型
- 發現比美味更有教育價值的披薩
- 理解JavaScript中的文字處理方式
- 學習執行常見字串操作
- 使用陣列處理數據列表
- 學習創建自定義物件

購買《JavaScript絕對初學者指南》的任何格式,都可以免費獲得線上Web版的訪問權限,該版提供了幾個特殊功能,幫助您學習:

- 在線閱讀完整的書籍內容
- 作者介紹每個章節的短片
- 互動測驗以測試您對內容的理解
- 更新和修正內容

這個Web版可以在支援HTML5的所有類型的電腦和移動設備上使用任何現代網頁瀏覽器查看。

內容一覽:

1. Hello, World!
2. 基本內容
3. 函數
4. 條件語句:if、else和switch
5. 認識迴圈:for、while和do...while!
6. 計時器
7. 變數範圍
8. 閉包
9. 程式碼應該放在哪裡?
10. 註解您的程式碼
11. 披薩、類型、基本型別和物件
12. 字串
13. 當基本型別像物件一樣行為時
14. 陣列
15. 數字
16. 深入研究物件
17. 擴展內建物件
18. 布林值和更嚴格的===和!==運算子
19. Null和Undefined
20. 立即執行的函數表達式
21. JavaScript、瀏覽器和DOM
22. 在DOM中尋找元素
23. 修改DOM元素
24. 為內容添加樣式

以上為《JavaScript絕對初學者指南》的內容概述。