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 "
Management & Computers