JavaScript Basics

Beginner friendly JavaScript exercises
learn JavaScript from scratch
core concepts
  1. 0/11

    variables

    The basics of declaring and assigning values to variables
  2. 0/5

    booleans

    Learn how to code with binary data using JavaScript Booleans
  3. 0/19

    operators

    Learn how to calculate with JavaScript values or how to compare them using operators
  4. 0/7

    strings

    These exercises will teach you how to declare and manipulate string variables and how to combine multiple strings into one.
  5. 0/9

    conditionals

    These JavaScript exercises will teach you how to use conditionals, such as if and else. They help you control the flow of your programs and make decisions based on the data they receive.
  6. 0/11

    functions I

    This series of JavaScript exercises provides an introduction to the fundamental concepts and syntax of functions. You will learn how to define, call, and pass arguments to functions.
  7. 0/8

    arrays

    The basics of working with arrays in JavaScript, including creating, accessing, and modifying arrays and their elements.
  8. 0/6

    objects

    The basics of working with objects in JavaScript. You will learn how to access object properties, how to create and modify objects.
  9. 0/6

    loops

    This series of JavaScript exercises covers the basics of using loops in JavaScript, including for and while loops, as well as how to control the flow of a loop with break and continue statements.
  10. 0/9

    scope

    Learn about scopes in JavaScript. Topics include function scope, block scope, global scope, and scope hierarchy.
  11. 0/8

    functions II

    You will explore more advanced concepts around JavaScript functions such as arrow functions and the rest parameter.
  12. 0/10

    asynchronous javascript

    Learn how to use asynchronous operations to move time-consuming tasks to the background and continue with the main process until they have finished.