Beginner 8 lessons · free
JavaScript tutorial Make pages interactive.
JavaScript — the language of the web. Every lesson has a runnable example you can edit, key points, a practice task, a quiz and interview questions.
Start learning JavaScript
Not started
Lessons
What you'll learn
- 01JavaScript introductionWhat JavaScript does, where to write it and console.log.
- 02Variables & data typeslet, const, strings, numbers, booleans, null and undefined.
- 03Operators & conditionsArithmetic, comparison, logical operators and if / else.
- 04Loopsfor, while, for…of and breaking out of loops.
- 05FunctionsDeclaring functions, parameters, return values and arrow functions.
- 06Arrays & objectsLists and key/value data, plus map, filter and find.
- 07The DOMSelecting elements and changing text, classes and styles.
- 08EventsaddEventListener, click and input events, forms.