4.4
2,100+ reviews on G2
Learning JavaScript means learning the language that makes web pages interactive: first HTML and basic CSS, then variables, numbers, strings, conditions, loops and functions, then working with the page itself. Four habits help most:

MDN lists them as prerequisites.
MDN suggests CodePen or JSFiddle.
Read the error, then fix one thing.
Like MDN's Guess the number.
Learn in Evernote. Clip the docs, let the AI Assistant fix your code, and search any snippet.
MDN's JavaScript module expects you to know HTML and the basics of CSS first, because JavaScript works on web pages.
It starts with what JavaScript is, a first practical game, troubleshooting, then variables, numbers and operators, and strings.
Use let for values that change and const for values that do not. Reassign one in the console and read what it says.
If you cannot create files, MDN suggests an online editor such as CodePen or JSFiddle.
MDN's "What went wrong?" article teaches you to read errors. Break your code and fix it.
A guessing game, a to-do list, a quiz. Add one new feature at a time.
One entry per session. Copy it, or save it to your Evernote account and keep your snippets in the same note.
Date: [day] · Time spent: [minutes]
Topic: [one concept, like for loops or functions]
Source: [tutorial, chapter or video, with its link]
What I built: [a small program, in one line]
Error I hit: [the last line of the error message]
How I fixed it: [one sentence, plus the corrected snippet]
Next session: [the next concept to learn]
4.4
2,100+ reviews on G2
4.4
8,200+ reviews on Capterra
4.4
73,000+ reviews on App Store
248M
Registered users
Yes. MDN Web Docs has a free, structured JavaScript course, and freeCodeCamp offers a free curriculum.
Yes. MDN's JavaScript module lists HTML and basic CSS as prerequisites.
let declares a variable whose value can change; const declares one that cannot be reassigned.
In a web browser, or in an online editor such as CodePen or JSFiddle, which MDN suggests when you cannot create files.
MDN's core module runs from What is JavaScript? through debugging and error handling, in the order listed. How long it takes depends on your schedule.
No. They are different languages with different uses, despite the similar names.
Keep one notebook for JavaScript: the MDN pages you clip, your practice code, and every error you fixed.
Save the JavaScript first steps page with the Web Clipper. Keep it in a notebook called Learning JavaScript, with its code sample and link.
Put the loop and its TypeError in a note. Ask the AI Assistant why the total cannot change, and accept the fix from const to let.
Search for "let" when you need the syntax again. Evernote finds it in your MDN clip and in the practice note, code blocks included.
Clip the docs you learn from, ask the AI Assistant why your code breaks, and find any snippet again by searching for it.
Start for free