ОТКРЫТЫЙ КУРС · 20 lessons

JavaScript • Basics

Understand JavaScript logic: variables, conditions, loops, arrays, functions and objects.

Learning with progressNotes can be read without registration. An account is required to save the tasks.
Who this is for

For beginners who want to understand JavaScript before building interactive pages. HTML knowledge is not required yet.

How the course works

20 lessons in four modules: short notes, an example, guided classwork and homework. A final exam covers the core language features.

What you will learn

  • Explain the difference between a value, a variable and an expression.
  • Control program flow with if, comparisons and loops.
  • Store collections in arrays and objects.
  • Write functions and build a small program from several steps.

Module path

  1. IntroductionOutput and first values: numbers, strings and variables.
  2. Choice and repetitionConditions and a first loop for choices and repetition.
  3. Loops and arraysLoops and arrays for collections of data.
  4. Your own programsFunctions, objects and a final small program.

Your result

After four modules, you can write a simple program that receives data, processes it and produces a result, then check your knowledge in the exam.

What comes next

This course teaches language foundations. DOM interaction, page buttons, server-side Node.js and frameworks are separate next topics.

01
MODULE 1 · УРОКИ 1–5

Introduction

First commands and variables

  1. Lesson 1. First messageconsole.log · 12 мин →
  2. Lesson 2. A box with a namelet · 12 мин →
  3. Lesson 3. Meaning doesn't change.const · 12 мин →
  4. Lesson 4. Slice words.Lines and + · 12 мин →
  5. Lesson 5. Count the purchase.Addition and multiplication · 12 мин →
02
MODULE 2 · УРОКИ 6–10

Choice and repetition

Checks, branches and loops

  1. Lesson 6. Truth or falsehoodComparison and boolean · 12 мин →
  2. Lesson 7. If not.if and else · 12 мин →
  3. Lesson 8. Three optionselse if · 12 мин →
  4. Lesson 9. Two questions at once.&& и || · 12 мин →
  5. Lesson 10. Repeat the meter.for loop · 12 мин →
03
MODULE 3 · УРОКИ 11–15

Loops and arrays

Repetition, lists and actions with them

  1. Lesson 11. As long as the condition iswhile loop · 12 мин →
  2. Lesson 12. List of numbersMassive · 12 мин →
  3. Lesson 13. Take one element.Array index · 12 мин →
  4. Lesson 14. Each elementfor...of loop · 12 мин →
  5. Lesson 15. Add to the listpush · 12 мин →
04
MODULE 4 · УРОКИ 16–20

Your own programs

Functions, facilities and final draft

  1. Lesson 16. Your command.Function · 12 мин →
  2. Lesson 17. Function with responseArguments and return · 12 мин →
  3. Lesson 18. Item with propertiesObject · 12 мин →
  4. Lesson 19. Convenient wordstoUpperCase and length · 12 мин →
  5. Lesson 20. Bottom line: counting pointsArray, function and condition · 18 мин →