Learning path
HTML & JavaScript basics
Create a small page, add a button, and make it respond with JavaScript.
Before you start
A text editor and a browser. No framework or build tool is needed for these examples.
Open the first guideLearning path · 4 guides
Work through the small examples in a separate practice folder, keeping the HTML and script filenames consistent.
Official documentation ↗Module 1
Build the page

HTML – Chapter 1 | Creating a Website with Notepad | Hello World Page
Creating a website with notepad is easy-peasy! Let’s learn the simplest thing in the world: How to create a Hello World Page. The best thing about HTML is that it lets you get on...
Read guide →
How to Create a Button in HTML | Beginner Tutorial
How to create a button in HTML with the button element, a clear label, and type=”button” when the button is not submitting a form.
Read guide →
Module 2
Add JavaScript

JavaScript Hello World | Beginner Script Tag Tutorial
JavaScript Hello World tutorial: add a script tag, use console.log for a safe first test, and understand document.write in older examples.
Read guide →
JavaScript Functions | Build an HTML Alert Box
JavaScript functions made simple: build an alert button, understand calls, and update page text with working code.
Read guide →




