JavaScript Absolute Beginner's Guide (2e) : 9780136502890

JavaScript Absolute Beginner's Guide (2e)

Chinnathambi ,K
 
Edition
 
2
ISBN
 
9780136502890
ISBN 10
 
013650289X
Published
 
27/12/2019
Published by
 
Pearson Higher Ed USA
Pages
 
416
Format
 
In stock
 
Title type
Book
$44.99
 
 
Title type
 
$31.99
 
 
Description
JavaScript Absolute Beginner's Guide serves as an easy-to-understand tutorial on both scripting basics and JavaScript itself. The book is written in a clear and very personable style with an extensive use of practical, complete examples. The book is filled with large, full-color illustrations and all the programming code is displayed in color to help the beginner understand the key components and structure of the language.
Table of contents
ntroduction
1 Hello, World!
2 Easily testing your code

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

Part II It's an Object-Oriented World
13 Of Pizza, Types, Primitives, and Objects
14 Strings
15 When Primitives Behave Like Objects
16 Arrays
17 Numbers
18 A Deeper Look at Objects
19 Extending Built-in Objects
20 Defining Objects as a Class
21 Extending Objects
22 Booleans and the Stricter === and !== Operators
23 Null and Undefined
24 Immediately Invoked Function Expressions

Part III Working with the DOM
25 JS, The Browser, and The DOM
26 Finding Elements in the DOM
27 Modifying DOM Elements
28 Styling Your Content
29 Traversing the DOM
30 Creating and Removing DOM Elements
31 In-Browser Developer Tools

Part IV Dealing with Events
32 Events
33 Event Bubbling and Capturing
34 Mouse Events
35 Keyboard Events
36 Page Load Events and Other Stuff
37 Handling Events for Multiple Elements
38 Promises and Asynchronous Events

Part V Web Components
39 What are web components?
40 Building a custom element
41 Styling and the Shadow DOM
42 Templates and Slots

Conclusion

Glossary