⭐ How to Set Up Your Coding Environment
Before you start writing HTML code, you need to set up a simple and comfortable coding environment on your computer. The good news? You don’t need any expensive software — everything is free!
⭐ 1. Install a Code Editor
A code editor is a software where you write your HTML code.
✔ Recommended: Visual Studio Code (VS Code)
It is free, lightweight, and perfect for beginners.
Steps to install:
-
Go to the official website
-
Download VS Code (Windows, Mac, or Linux)
-
Install and open it
Other editors you can use:
-
Notepad++
-
Sublime Text
-
Atom
VS Code is still the best option because it has extensions, themes, and helpful tools.
⭐ 2. Create a Folder for Your Projects
Organizing your files is important.
Steps:
-
Create a new folder on your desktop
-
Name it something like HTML-Practice
-
Open this folder in VS Code
This will be your workspace.
⭐ 3. Create Your First HTML File
Inside your project folder:
-
Click on New File
-
Name it: index.html
-
Add some basic HTML code:
⭐ 4. Open the File in Your Browser
You can use any browser:
-
Google Chrome
-
Firefox
-
Edge
Steps:
-
Right-click on index.html
-
Select Open with → Chrome
-
You’ll now see your first webpage!
⭐ 5. (Optional But Recommended) Install Live Server
Live Server is a VS Code extension that shows changes instantly without refreshing.
Steps:
-
Open VS Code
-
Go to Extensions
-
Search Live Server
-
Install
-
Right-click index.html → “Open with Live Server”
Now every time you save your file, the browser updates automatically.
⭐ Summary
To set up your coding environment:
-
Install VS Code
-
Create a project folder
-
Create an HTML file
-
Open it in the browser
-
Use Live Server for faster development
Your HTML coding environment is ready!
