Got the code? Welcome, builder!
You're heading into Invent the Future — instructors hand out the access code on day one.
You're heading into Invent the Future — instructors hand out the access code on day one.
You could write a website in Notepad. Technically, it works — Notepad saves text, and HTML is just text.
But nobody does. The reason is the same reason a carpenter uses a proper workshop instead of a kitchen table: the right environment makes you faster, catches your mistakes, and honestly just feels better to work in.
That environment, for a programmer, is a code editor — and we're going to set one up that you'll actually enjoy using.
An IDE (Integrated Development Environment) is a code editor with superpowers. It combines the text editor you write code in with tools that help you understand, navigate, and debug it — all in one window.
You don't need to memorise the acronym. What matters is the idea: instead of switching between ten different apps, everything you need is in one place.
Open Notepad and paste some HTML. Everything looks the same — same colour, same font, wall of text. There's nothing to help your eye find where one section ends and another begins.
Now open the same HTML in a real code editor. Suddenly:
< suggests the tag you probably want nextThe code hasn't changed. The experience of writing it has.
Visual Studio Code (VS Code) is made by Microsoft and is the most widely used code editor in the world. It's free, runs on Windows, Mac, and Linux, and has an enormous library of add-ons.
When you first open VS Code, you'll see five main areas:
┌─────────────────────────────────────────────────┐
│ Activity Bar │ Explorer / Sidebar │
│ (icons on │ (your project files) │
│ the left) ├─────────────────────────────────│
│ │ Editor │
│ │ (where you write code) │
│ ├─────────────────────────────────│
│ │ Terminal (at the bottom) │
└─────────────────────────────────────────────────┘
| Area | What it does |
|---|---|
| Activity Bar | The column of icons on the far left. Switches between the file explorer, search, extensions, and more. |
| Explorer | Shows all the files and folders in your project. Click a file to open it. Right-click to create, rename, or delete. |
| Editor | The big area where you actually write code. You can have multiple files open as tabs. |
| Terminal | A built-in command line at the bottom. Open it with Ctrl+` (backtick) or Cmd+ `` on Mac. |
| Status Bar | The thin strip at the very bottom showing the current file type, line number, and other info. |
Code is colour-coded automatically. HTML tags appear in one colour, attribute names in another, and values in another. CSS properties and JavaScript keywords each have their own colour.
This isn't decoration. Your eye learns to scan for colours before reading words. A missing quote or a typo in a tag name stands out instantly because the colours suddenly go wrong.
Start typing an HTML tag or CSS property and VS Code suggests completions. Press Tab or Enter to accept.
Type div → press Tab → VS Code writes <div></div> and puts your cursor in the middle. Type an opening <h → a dropdown lists h1 through h6. This isn't just faster — it also prevents typos.
Type <section> and VS Code automatically writes the closing </section> for you. This alone saves beginners hours of debugging.
Red and yellow underlines appear under code that looks wrong — a missing attribute, an unknown property, mismatched brackets. You'll see the problem before you even run the page.
Hold Alt (or Option on Mac) and click in multiple places. Now everything you type appears in all of those places at once. Useful for renaming things that appear multiple times.
The Live Server extension (see below) serves your HTML files in a browser and auto-refreshes every time you save. You save, the browser updates instantly — no manual refresh needed.
Click the Extensions icon in the Activity Bar (it looks like four squares, one slightly separated). Search and install anything here.
Extensions worth installing for web dev:
| Extension | What it does |
|---|---|
| Live Server | Serves your project in a browser, auto-refreshes on save |
| Prettier | Auto-formats your code to look clean every time you save |
| HTML CSS Support | Smarter autocomplete for class names and CSS properties |
| indent-rainbow | Colours each level of indentation differently — great for spotting nesting mistakes |
To install: click Extensions → search the name → click Install.
You don't need to memorise all of these. Learn one per day and they'll become muscle memory fast.
| What it does | Windows | Mac |
|---|---|---|
| Save the file | Ctrl+S |
Cmd+S |
| Undo | Ctrl+Z |
Cmd+Z |
| Find text on the page | Ctrl+F |
Cmd+F |
| Open the terminal | Ctrl+` |
Cmd+` |
| Open a file by name | Ctrl+P |
Cmd+P |
| Comment/uncomment a line | Ctrl+/ |
Cmd+/ |
| Duplicate a line down | Shift+Alt+↓ |
Shift+Option+↓ |
You're going to stare at this editor for a long time. It should look the way you want it to look.
VS Code themes change the background colour, the syntax colours, and the overall feel of the editor. There are thousands of them, and switching takes about 30 seconds.
Ctrl+Shift+P (Windows) or Cmd+Shift+P (Mac)Color Theme and select Preferences: Color ThemeEnter to apply the one you wantVS Code ships with several built-in themes: Dark+, Light+, Monokai, Solarized, and a few others.
The real selection is in the Extensions marketplace. Here are some popular picks to try:
| Theme | Vibe |
|---|---|
| One Dark Pro | Dark, calm — the most-installed theme on the marketplace |
| Dracula Official | Dark purple tones — popular with streamers and YouTubers |
| Tokyo Night | Deep blue-indigo, inspired by Tokyo after dark |
| Catppuccin | Soft pastel colours — comes in four flavours (Latte, Frappé, Macchiato, Mocha) |
| Synthwave '84 | Dark with glowing neon colours — looks like an 80s sci-fi movie |
| GitHub Light | Clean and bright — matches what you see on GitHub's website |
| Night Owl | Designed specifically to be easy on the eyes in low-light rooms |
To install any of these: Extensions → search the name → Install → then follow the Change Theme steps above to activate it.
There is no wrong answer. A theme that makes you happy to open VS Code is the right theme.
While you're at it, you can also install an icon theme — this gives each file type in the Explorer its own icon (an orange flame for HTML, a blue shield for CSS, etc.) so you can spot file types at a glance.
A popular one: search Material Icon Theme in Extensions and install it.
VS Code is the standard, but you'll hear about others:
| Editor | What it's known for |
|---|---|
| Zed | Very fast, minimal, built for collaboration |
| WebStorm | JetBrains editor built specifically for web dev — powerful but paid |
| Cursor | VS Code with AI built in |
| Neovim | Runs entirely in the terminal, no mouse needed — steep learning curve, loyal fans |
Start with VS Code. If you're still coding in a few years, you'll know enough to have opinions about the others.