🖥️ Beginner Tutorial: Build Your First Simple Website
1. Project Overview
We will create a personal website with:
-
A header (with name and navigation)
-
An “About Me” section
-
A simple “Projects” section
-
A footer
This project uses only HTML and CSS (no JavaScript yet), so it’s great for absolute beginners.
2. Setup Your Project
-
Create a new folder on your computer, e.g.,
my-website. -
Inside, create two files:
-
index.html -
style.css
-
3. Writing the HTML
Open index.html and write this code:
👉 This creates the structure of your webpage.
4. Adding Styles with CSS
Open style.css and add this:
👉 This adds colors, spacing, and styles to make your website look nice.
5. Open Your Website
-
Open
index.htmlin your web browser (double-click it). -
You should now see your first personal website 🎉
6. Challenge (For Practice)
Try these improvements:
-
Change the background color in the header.
-
Add another project to the list.
-
Replace the placeholder image with your real photo.
-
Add a “Hobbies” section below Projects.
✅ Congratulations! You just built your first simple static website.