codegurukool.com · Free coding tutorials & online compiler

Home › JavaScript Tutorial › Welcome to the JavaScript course

Welcome to the JavaScript course

A short introduction before you start learning JavaScript.

JavaScript makes pages interactive: it reacts to clicks, changes content and works with data.

What you will learn: variables, functions, arrays, objects, events and the DOM.

Press Next lesson to begin. Edit and run the code in every lesson, and take the exam at the end to earn a certificate.

Example code

<p id="o"></p>
<script>
  const name = "Ada";
  let age = 36;
  age = age + 1;
  document.getElementById("o").textContent = name + " is " + age;
</script>

Run this code in the online editor

All commands →