Module 1 · What you can build

Setting up the environment: folder, terminal and the .html file

Lesson 3 of 12 9 min lesson Updated on October 30, 2026
Progress in the course25%

In this lesson

One folder, one text window and one file. That is all the environment you need.

Programmers like to complicate the environment. For what we are going to do, all it takes is a well-named folder, a terminal you know how to open and the .html file.

The project folder

Everything lives in a single folder. This defines what the AI sees. If you open the tool inside school-site, it sees only what is in there. If you open it in Documents, it sees contracts, spreadsheets and photos.

The terminal without fear

The terminal is a window where you type commands instead of clicking. In the whole course, you use three.

CommandWhat it doesExample
cdGoes into a foldercd Documents/bakery-site
mkdirCreates a foldermkdir bakery-site
claudeOpens Claude Code in the current folderclaude

To open it: on Windows, right-click inside the folder and choose "Open in Terminal". On a Mac, press Command + Space and type "Terminal". On Linux, use Ctrl + Alt + T.

Tip

Don't know the path? Type cd, a space, and drag the folder into the terminal window. The path shows up by itself. Press Enter.

What an .html file is

A website is made of text files. The main one ends in .html. Inside it there are markings between less-than and greater-than signs, the tags. The browser reads the tags and draws the page.

You don't need to memorize them. You need to recognize them. When the AI says "I put the phone number below the heading", you open the file, find the <h1> and see the paragraph right after it. The main page is called index.html: it is what the server delivers when someone visits the address without pointing to a file.

What the pros know

Double-clicking index.html opens the page as file://, and that has a limit. In this mode, the browser blocks some features for security, such as JavaScript modules, which give a CORS error. That is why people who work with websites test through a local server, which delivers the page through http://localhost. The AI sets up this server with one command, if you ask. If something works on the server and breaks from the file, this is why.

The first conversation with the code

With the terminal in the folder, ask for: context, content, requirements and an explanation. That last item turns the AI into a teacher: it writes and it explains. The tool will ask for permission to create the file. Approve, open the folder and double-click index.html.

Careful

The WhatsApp number in the example is made up. Use yours in the international format: 55 (Brazil's country code), area code and number, with no spaces. And click the link to check it.

Practice · 10 min

  1. Open the terminal in the project folder and type claude.
  2. Paste the request below, with your details. Approve and open index.html in the browser.
  3. Open the file in the editor, change one word in the paragraph, save and reload.
Create in this folder an index.html with a simple page for [your business] in [your city]. Content: a heading with the name, a paragraph with the opening hours and a link "Message us on WhatsApp" to https://wa.me/55DDDNUMERO. Requirements: en, utf-8, no JavaScript, CSS inside the file, easy to read on a phone. Then explain in 3 lines what each part does.
Deliverable: index.html open in the browser, with one change made by you and one made by the AI.

Summary

Sources

Read on October 30, 2026.

  1. MDN. JavaScript modules: loading the HTML through file:// causes a CORS error, and testing should be done through a server.

Lesson quiz

Three situations to apply what you learned.

Lesson 3 of 12

Before moving on to the next lesson

Put what you saw into practice. The boxes stay checked in this browser, so you can come back later.

Have a question about this lesson? The IV Help team answers personally on WhatsApp.

Ask on WhatsApp