EasyCode365EasyCode365

JavaScript Foundations

Start here if JavaScript is your first programming language.

  1. What Is JavaScript?

    Learn what JavaScript is, where it runs, and why it is one of the main languages of the web.

  2. Your First JavaScript Code

    Write your first JavaScript line, use console.log(), and see how code produces output.

  3. Variables in JavaScript

    Learn what variables are in JavaScript and how to create them with const and let.

  4. Strings and Text

    Learn how to work with text in JavaScript and combine words into useful messages.

  5. Numbers and Basic Math

    Use numbers in JavaScript and perform simple math like addition, subtraction, multiplication, and division.

  6. Booleans: True or False

    Learn what boolean values are and how programs use true and false to make choices.

  7. Changing Values

    See how variable values can change over time with simple examples like counters and scores.

  8. If Statements

    Use if, else if, and else to make decisions in your code.

  9. Comparison Operators

    Compare values with operators like ===, !==, >, and < in beginner-friendly examples.

  10. Arrays

    Learn how arrays store multiple values in one place and why they are useful.

  11. Working With Arrays

    Practice basic array actions like adding items, removing items, and reading values by position.

  12. Interactive Lesson: push(), pop(), unshift(), and shift()

    Practice how push(), pop(), unshift(), and shift() change a JavaScript array.

  13. Functions

    Discover what functions are and how they help you reuse code.

  14. Function Inputs and Outputs

    Learn how functions receive values and return results.

  15. Objects

    Understand how objects store related data using simple key and value pairs.

  16. Loops

    Learn how loops repeat code and use them in small practical examples.