JavaScript Crash Course Cover

JavaScript Crash Course

by Nick Morgan
July 2023, 300 pp.

Use coupon code PREORDERJCC to get 30% off!
JavaScript Crash Course is a fast-paced, thorough introduction to programming in JavaScript that will have you writing your own software and web applications in no time. Like the bestselling Python Crash Course, this hands-on guide is a must-have for anyone who wants to learn how to code from the ground up, this time using the popular JavaScript programming language.

JavaScript is the programming language of the internet, the secret sauce that makes websites dynamic, responsive, and all-around awesome. JavaScript Crash Course will quickly teach total beginners how to code in this popular, easy-to-learn language. This light-hearted, fast-paced introduction teaches you programming essentials through fun examples, hands-on exercises, and projects like building a Pong-style game. Discover all the important aspects of the language without delving into expert-level nitty-gritty details or confusing jargon.

You will quickly develop an understanding of key coding concepts including strings, functions, arrays, and loops, and then move on to more advanced topics, such as building web-page interactivity by manipulating the DOM, and drawing graphics with Canvas. Along the way, you’ll have fun using 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.