JavaScript Crash Course
by Nick Morgan
Programming
Book Details
Book Title
JavaScript Crash Course
Publisher
No Starch Press
Table of Contents
- Praise for Javascript Crash Course
- Title Page
- Copyright
- Dedication
- About the Author and Technical Reviewer
- Acknowledgments
- Introduction
- Part I: The Language
- Chapter 1: Getting Started
- Using the JavaScript Console
- Using a Text Editor
- Summary
- Chapter 2: The Basics
- Expressions and Statements
- Numbers and Operators
- Bindings
- Incrementing and Decrementing
- Strings
- Escape Sequences
- Template Literals
- Undefined and Null
- Booleans
- Type Coercion
- Summary
- Chapter 3: Compound Data Types
- Arrays
- Objects
- Nesting Objects and Arrays
- Summary
- Chapter 4: Conditionals and Loops
- Making Decisions with Conditionals
- Repeating Code with Loops
- Summary
- Chapter 5: Functions
- Declaring and Calling Functions
- Passing a Function as an Argument
- Other Function Syntaxes
- Rest Parameters
- Higher-Order Functions
- Summary
- Chapter 6: Classes
- Creating Classes and Instances
- Inheritance
- Prototype-Based Inheritance
- Summary
- Part II: Interactive JavaScript
- Chapter 7: HTML, the DOM, and CSS
- HTML
- The Document Object Model
- script Elements
- CSS
- Using CSS Selectors in JavaScript
- Summary
- Chapter 8: Event-based Programming
- Event Handlers
- Mouse Movement Events
- Keyboard Events
- Summary
- Chapter 9: The Canvas Element
- Creating a Canvas
- Making Static Drawings
- Interacting with the Canvas
- Animating the Canvas
- Summary
- Part III: Projects
- Project 1: Creating a Game
- Project 2: Making Music
- Project 3: Visualizing Data
- Afterword
- Index