« Previous
Next »
JS HOME
Welcome to the iwantcoding.com JavaScript Tutorial. The sidebar walks the language from "Hello, world" through advanced async, the DOM, classes, modules, and the modern Web Platform.
Recommended starting path
- Introduction — what JS is and where it runs.
- Where To — putting scripts on a page.
- Variables + data types.
- Functions, objects, arrays.
- DOM + events.
- Async, promises, async/await.
- Classes, modules, JSON.
- Capstone — build a small site with what you learned.
What's on every lesson page
| Section | What it does |
|---|---|
| Lesson body | Explanation with figures or tables. |
| Example | A runnable snippet. Click Try it Yourself » to edit it live. |
| Exercise | Fill-in-the-blank to lock in the concept. |
| Test yourself | 3-question quiz. |
| Mark complete | Updates the sidebar progress bar. |
Tip: Follow the syllabus on a first pass. Once you've finished the foundations, the rest of the topics are useful in any order.
Example
Example
<!DOCTYPE html>
<html>
<body>
<p id="out"></p>
<script>
document.getElementById("out").textContent = "Hello from JS HOME!";
</script>
</body>
</html>
Try it Yourself »
Exercise
Open the runnable example by clicking the green button labelled…
Click:
The CTA on every lesson page.
Test yourself
« Previous
Next »
Discussion
Loading…