Udemy
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
JavaScript Coding Exercises: 100 Web Development Problems
New
Rating: 5.0 out of 5(2 ratings)
2 students

JavaScript Coding Exercises: 100 Web Development Problems

Practice JavaScript from basics to the DOM, events, async code and closures, plus interview classics and mini projects
Created bySoundhar K
Last updated 11/2026
English

What you'll learn

  • Write correct JavaScript from the basics: variables, types, operators, conditionals and loops.
  • Use functions, strings, arrays and array methods such as map, filter and reduce fluently.
  • Work with objects and modern syntax including destructuring, spread and template literals.
  • Manipulate the DOM and handle events and forms to build interactive pages.
  • Write asynchronous code with callbacks, promises and async and await, and understand closures, classes and this.
  • Solve classic JavaScript interview problems and build small UI components as mini projects.

Coding Exercises

This course includes our updated coding exercises so you can practice your skills as you learn.

See a demo
Image of coding exercise example

Course content

11 sections • 5 lectures • 29m total length
  • Introduction5:34
  • Learning path7:04
  • Async deep dive and Event delegation8:30
  • Role Plays1:38
  • Everything else: sample exercises, study plan, tips, FAQ, closing7:11

Requirements

  • A little JavaScript: you've seen variables, if statements and a loop. The first section warms you up, but this is a practice course, not a from-zero lecture series.
  • A browser. Every exercise runs in the coding editor built into the course, with automated tests, so there's nothing to install or set up.

Description

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

  • JavaScript basics: variables, types, operators, conditionals and loops.
  • Functions and strings: parameters, return values, scope and string manipulation.
  • Arrays and array methods: map, filter, reduce, find, sort and more.
  • Objects and modern syntax: destructuring, spread, rest, optional chaining and template literals.
  • DOM basics: selecting, creating and updating elements.
  • Events and forms: listeners, event handling and form validation.
  • Asynchronous JavaScript: callbacks, promises, async and await, and fetching data.
  • Classes, closures and this: the concepts that most often confuse developers.
  • JavaScript interview classics: debounce, deep clone, flattening arrays and similar problems.
  • Mini projects: small UI components that combine DOM, events and logic.

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.

Who this course is for:

  • Students and freshers preparing for front-end and JavaScript interview rounds who need hands-on practice, not more theory
  • People who finished a long web development video course and can follow along but stall when facing an empty file
  • Backend, data or QA engineers who need to read and write browser JavaScript at work: DOM, events and fetch
  • Self-taught front-end developers who want solid vanilla JavaScript before (or alongside) React