Skip to content

Lesson 1 of 4 · 5 min

Your first script

JavaScript is the programming language of the web. It lives inside a <script> tag.

document.getElementById finds an element on the page so your code can change it.

Your turn: Change the message to say hello to you by name.

Code editor

Live preview