JavaScript Crash Course Cover

JavaScript Crash Course

by Nick Morgan
July 2023, 300 pp.
Use coupon code PREORDER to get 25% off!

JavaScript is the programming language of the internet—the secret sauce that makes websites dynamic, responsive, and all-around awesome. This fast-paced tutorial quickly teaches total beginners how to code in this popular, easy-to-learn language. Light-hearted and hands-on, the book introduces you to programming essentials through fun examples, hands-on exercises, and cool projects like building a Pong-style computer game. You’ll discover all of the important aspects of the language (without delving into expert-level nitty-gritty details or confusing jargon) as you develop a fast knack for programming with JavaScript.

  • Learn fundamental JS coding concepts, including objects, functions, arrays, and loops
  • Explore key web programming topics, like interactivity and drawing graphics with Canva
  • Use JavaScript to make games, apps, and even create music
Author Bio 

Nick Morgan is a software engineer at Twitter. He started on the web team, writing JavaScript to help to build the main website. He now writes Scala for the backend Tweets service, working on projects such as the change from 140 to 280 character Tweets and the Limit Replies feature. Nick grew up in the UK, and has a degree in Music and Sound Recording from the University of Surrey. He now lives in Colorado with his wife, two daughters, three cats, and one dog.

Table of contents 

Part I: JavaScript Basics
1. What Is JavaScript?
2. Data Types and Variables
3. Arrays
4. Objects
5. Conditionals and Loops
6. Functions

7. Classes
Part II: Interactive JavaScript
8. HTML, the Document Object Model, and CSS
9. Event-Based Programming
10. The Canvas Element

Part III: Projects
11. Project 1: Making a Game
12. Project 1B: Object-Oriented Pong
13. Project 2: Making Music
14. Project 3: Visualizing Data

The chapters in red are included in the Early Access PDF.