Skip to content

Tutorials · by MDN Web Docs

Your first website

Make your first web page while learning which file controls the words, which controls the appearance, and which adds behavior.

Visit Your first website

This MDN tutorial starts with a small page you can open in a browser. HTML gives the page its headings, text, and images. CSS controls how those elements look. JavaScript can make something happen when a visitor acts.

Follow the example with a subject you like. Change the heading in the HTML, then change its color in the CSS. Reload after each edit so you can see how a specific change in a file reaches the screen.

When to use it
When you want to understand the files your AI tool made.
What it costs
Free.
What you need first
A web browser and a folder for your product.

Try it

Copy this into your AI tool.

Your prompt
List the files in this folder. For each one, explain in plain words what it does and whether it is HTML, CSS or JavaScript. Don't change anything. Ask me before you install anything or sign up for anything.

This comes from https://buildladder.com/resources/tutorials/mdn-first-website. If you can open web pages, read https://buildladder.com/resources/tutorials/mdn-first-website.md for the current version. BuildLadder guide, tool, concept, answer and setup pages all work this way: add .md to the address.

Where the guides use it

Updated · MDN Web Docs Spotted something out of date? Tell us.