Lesson 1 — Building a simple portfolio
This lesson walks you through creating a tiny portfolio page. First — open the editor you'll use (VS Code, Mimo web, or any editor). Create a folder and an index.html file inside it. Ready? Let's go.
Lesson 1 — Building a simple portfolio
This lesson walks you through creating a tiny portfolio page. First — open the editor you'll use (VS Code, Mimo web, or any editor). Create a folder and an index.html file inside it. Ready? Let's go.
Copy the exact code below into your index.html. It is intentionally minimal.
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>My Portfolio</title>
</head>
<body>
<!-- Start typing below this line -->
</body>
</html>Add this line between the <body> tags:
<h1>My Portfolio</h1>This is the biggest heading. It's used for your page title. Put your name or site title here.
Add a short line describing you — for example:
<p>Beginner Website Developer</p>Paragraph tags hold sentences and small blocks of text.
<br> inserts a line break (new line) inside text. It has no closing tag. Example:
<p>I love coding.<br>I also learn fast.</p>Use it sparingly — paragraphs are usually better. But <br> is handy for addresses, poems, or tiny spacing inside a paragraph.
Add a secondary heading for skills:
<h2>Skills:</h2>Headings break the page into readable sections. Use them to label parts of your portfolio.
To show skills use an unordered list:
<ul>
<li>Coding</li>
<li>Fast learner</li>
</ul>The <ul> container holds list items (<li>). Each <li> is a bullet point.
Fill the blank: The tag to create a bullet item is _____.
Which tag is used for the biggest heading?
You built a tiny portfolio page: title, description, line break, section heading and a skills list. Move to Lesson 2 for deeper tag work.
A link (anchor) lets people move from one page to another. It's like pointing to another page and saying "Click me!"
<a href="https://probablybored.net">Go to probablybored.net</a>The href is the address (URL) — where the link goes.
The words between <a>...</a> are the clickable words. Keep them clear: "Click here" is fine, but better is "Visit my site".
<a href="https://probablybored.net">Visit my portfolio</a>By default a link opens in the same tab. If you want it to open in a new tab (so your page stays open), use target="_blank".
<a href="https://probablybored.net" target="_blank">Open in new tab</a>Also add rel="noopener noreferrer" for security when using target="_blank" (this is standard and safe).
A button is something people can click to do things. On a real site it might submit a form or run some code.
<button>Click me</button>If you put a button inside an anchor (<a>), clicking it will go to that link. That's handy for beginners.
Use <strong> when something is important. Browsers make it bold by default.
<p>I am a <strong>reliable</strong> worker.</p>This helps screen readers and makes meaning clear — it's not just visual styling.
Use <em> when you want to show emphasis — it's usually shown as italics.
<p>This is <em>really</em> important.</p>Good for small emphasis: names, single words, or stress in a sentence.
Try editing the example: change the link text, add target="_blank", wrap a button inside an anchor. Use your editor, save and preview.
<a href="https://probablybored.net" target="_blank" rel="noopener noreferrer">Visit ProbablyBored</a>
<a href="https://probablybored.net" target="_blank" rel="noopener noreferrer">
<button>Click here</button>
</a>Complete: To open a link in a new tab use the attribute _____.
Create an anchor that links to https://probablybored.net, opens in a new tab (target="_blank"), and contains a button with the text Click here. Example shown below — don't just copy it, try to type it yourself first.
<a href="https://probablybored.net" target="_blank" rel="noopener noreferrer">
<button>Click here</button>
</a>Type your code below. When you're ready press "Check" — the checker will confirm the anchor, target="_blank", and button text. Press "Run" to preview.
This is your sandbox. You don't need the full HTML boilerplate here — just drop the tags you want to try. For example: <h1>Test</h1>, or an anchor + button. Press Run to see the result below.
Tip: Because this is a tiny preview area you do not need to include <!doctype html> or <html> tags — just type the HTML you want to try.
You learned links with target="_blank", buttons, and emphasis tags. Use the Playground to practice — try making a button that links to your favourite site and opens in a new tab.
(Placeholder) We'll add detailed slides here next — semantic tags like <header>, <main>, <section>, <footer> and why they matter for accessibility & SEO. Coming soon.
(Placeholder) We'll explain structure, containers, class vs id, and basic styling hooks. Coming soon.
(Placeholder) We'll cover forms, inputs, labels, and accessibility best practices. Coming soon.