iwantcoding.com
🔥 Daily 👥 Rooms 🏆 Top Log in Sign up
« Previous

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

  1. Introduction — what JS is and where it runs.
  2. Where To — putting scripts on a page.
  3. Variables + data types.
  4. Functions, objects, arrays.
  5. DOM + events.
  6. Async, promises, async/await.
  7. Classes, modules, JSON.
  8. Capstone — build a small site with what you learned.

What's on every lesson page

SectionWhat it does
Lesson bodyExplanation with figures or tables.
ExampleA runnable snippet. Click Try it Yourself » to edit it live.
ExerciseFill-in-the-blank to lock in the concept.
Test yourself3-question quiz.
Mark completeUpdates 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:

Test yourself

Q1. Where on every lesson page is the runnable example?
Q2. What tracks your progress through the tutorial?
Q3. A good order to learn JavaScript is…

Discussion

Loading…

« Previous