
This course includes our updated coding exercises so you can practice your skills as you learn.
See a demo
JavaScript looks simple until you're asked why a variable changed inside a loop, why a promise resolved in the wrong order, or what this refers to in a callback. Those questions come up in real projects and in interviews, and the only reliable way to get comfortable with them is to write a lot of code.
This course is 100 hands-on JavaScript coding exercises in ten sections, from the basics to asynchronous code and interview classics, finishing with mini projects that build small UI components. Short lectures guide you through the course. Every exercise runs in your browser and is checked automatically, so you know straight away whether your code works.
What's inside
Each exercise is short and focused on one idea, so you can make steady progress in short sessions. Later sections build on earlier ones, so concepts like closures and array methods keep coming back until they feel natural.
The mini projects at the end are where the pieces connect. Building a small component means handling state, events and the DOM together, and debugging the moment something doesn't update the way you expected. That's much closer to real front-end work than isolated exercises.
How to use the course
If you're new to JavaScript, work through the sections in order. If you already code, start at arrays or asynchronous JavaScript and spend extra time on closures, this and the interview classics. Try each exercise before using hints, and redo the ones you miss.
Who it's for
Beginners learning web development, front-end developers who want stronger fundamentals, developers preparing for JavaScript interviews, and backend developers picking up JavaScript.
What you need
A browser. All exercises run in the course's built-in coding editor, so there's nothing to install.