|
| 1 | +--- |
| 2 | +sidebar_position: 9 |
| 3 | +title: Your Personal Portfolio |
| 4 | +sidebar_label: Final Project |
| 5 | +description: "Put everything together to build your first real-world website." |
| 6 | +--- |
| 7 | + |
| 8 | +Congratulations! You’ve moved from "What is a tag?" to understanding the full structure of a webpage. Now, it’s time to stop following tutorials and start **building**. |
| 9 | + |
| 10 | +Your mission is to create a **Personal Portfolio Page**. This site will tell the world who you are, what you’re learning, and how to contact you. |
| 11 | + |
| 12 | +## The Project Blueprint |
| 13 | + |
| 14 | +Before we code, let's look at the structure we want to achieve. We are going to use **Semantic HTML** to keep it professional. |
| 15 | + |
| 16 | +## Step-by-Step Instructions |
| 17 | + |
| 18 | +### Step 1: The Foundation |
| 19 | + |
| 20 | +Create a new file named `portfolio.html`. Start with your "Skeleton" (the boilerplate). Give your site a title like `[Your Name] | Developer Portfolio`. |
| 21 | + |
| 22 | +### Step 2: The Header & Nav |
| 23 | + |
| 24 | +Inside the `<body>`, add a `<header>`. |
| 25 | +* Use an `<h1>` for your name. |
| 26 | +* Create a `<nav>` with links to "About," "Skills," and "Contact." (Hint: You can use internal links like `href="#about"` later!) |
| 27 | + |
| 28 | +### Step 3: The "About Me" Section |
| 29 | + |
| 30 | +Use a `<main>` tag, and inside it, create a `<section>`. |
| 31 | +* Add an `<h2>` that says "About Me." |
| 32 | +* Add an `<img>` of yourself (or a cool avatar). |
| 33 | +* Write a `<p>` explaining your journey into coding. Use `<strong>` to highlight your goal. |
| 34 | + |
| 35 | +### Step 4: The Skills List |
| 36 | + |
| 37 | +Create another `<section>`. |
| 38 | +* Use an `<h2>` called "Technical Skills." |
| 39 | +* Create a `<ul>` and list the things you've learned: HTML5, Semantic Markup, Forms, etc. |
| 40 | + |
| 41 | +### Step 5: The Contact Form |
| 42 | + |
| 43 | +Create a final `<section>`. |
| 44 | +* Use an `<h2>` for "Get In Touch." |
| 45 | +* Build a `<form>` with inputs for `Name` (text), `Email` (email), and a `Message`. |
| 46 | +* Don't forget the `<button type="submit">`. |
| 47 | + |
| 48 | +### Step 6: The Footer |
| 49 | + |
| 50 | +Add a `<footer>` at the very bottom with a copyright notice: `© 2026 [Your Name]`. |
| 51 | + |
| 52 | +## The "Final Boss" Code Template |
| 53 | + |
| 54 | +If you get stuck, here is a structure to guide you. Try to fill in the blanks with your own info! |
| 55 | + |
| 56 | +```html title="portfolio.html" |
| 57 | +<!DOCTYPE html> |
| 58 | +<html lang="en"> |
| 59 | +<head> |
| 60 | + <meta charset="UTF-8"> |
| 61 | + <title>My Awesome Portfolio</title> |
| 62 | +</head> |
| 63 | +<body> |
| 64 | + |
| 65 | + <header> |
| 66 | + <h1>Jane Doe</h1> |
| 67 | + <nav> |
| 68 | + <a href="#about">About</a> | |
| 69 | + <a href="#skills">Skills</a> | |
| 70 | + <a href="#contact">Contact</a> |
| 71 | + </nav> |
| 72 | + </header> |
| 73 | + |
| 74 | + <main> |
| 75 | + <section id="about"> |
| 76 | + <h2>About Me</h2> |
| 77 | + <img src="avatar.jpg" alt="A photo of Jane smiling" width="150"> |
| 78 | + <p>I am an aspiring <strong>Frontend Developer</strong> learning at CodeHarborHub.</p> |
| 79 | + </section> |
| 80 | + |
| 81 | + <section id="skills"> |
| 82 | + <h2>My Skills</h2> |
| 83 | + <ul> |
| 84 | + <li>Writing Semantic HTML</li> |
| 85 | + <li>Creating Accessible Forms</li> |
| 86 | + <li>Hyperlinking the Web</li> |
| 87 | + </ul> |
| 88 | + </section> |
| 89 | + |
| 90 | + <section id="contact"> |
| 91 | + <h2>Contact Me</h2> |
| 92 | + <form> |
| 93 | + <input type="text" placeholder="Your Name" required><br> |
| 94 | + <input type="email" placeholder="Your Email" required><br> |
| 95 | + <button type="submit">Send Message</button> |
| 96 | + </form> |
| 97 | + </section> |
| 98 | + </main> |
| 99 | + |
| 100 | + <footer> |
| 101 | + <p>Built with ❤️ at CodeHarborHub</p> |
| 102 | + </footer> |
| 103 | + |
| 104 | +</body> |
| 105 | +</html> |
| 106 | + |
| 107 | +``` |
| 108 | + |
| 109 | +--- |
| 110 | + |
| 111 | +## How to Make it "Your Own" |
| 112 | + |
| 113 | +* **Add Links:** Link your "My Skills" section to your GitHub profile. |
| 114 | +* **Add Video:** Use a `<video>` tag to show a screen recording of your code. |
| 115 | +* **Emojis:** Use emojis to make the text more friendly! |
| 116 | + |
| 117 | +## Submission Checklist |
| 118 | + |
| 119 | +Before you call it finished, check these four things: |
| 120 | + |
| 121 | +1. [X] Does every image have an `alt` tag? |
| 122 | +2. [X] Is there only **one** `<h1>` and **one** `<main>`? |
| 123 | +3. [X] Do all your links work? |
| 124 | +4. [X] Did you use `<label>` for your form inputs? |
| 125 | + |
| 126 | +:::success YOU DID IT! |
| 127 | +You have officially completed the html beginners tutorial. You have a real website you built from scratch. |
| 128 | + |
| 129 | +**Next Stop:** [CSS Basics](/absolute-beginners/frontend-beginner/css/intro-to-css) — Let's learn how to make this portfolio look beautiful with colors, fonts, and layouts! |
| 130 | +::: |
0 commit comments