Skip to content
Codewilds

Lesson 7 of 29 · HTML Basics

Boss: Build an HTML Profile Page

Boss battlehard100 XP1 min readFree lesson

The Blank Page Wraith blocks the way. Every test you pass deals damage — pass them all to defeat it and claim a loot chest.

The Blank Page Wraith drifts through the Painted Cliffs, wiping every page it touches back to nothing. Rowan the Code Ranger is next on its list — unless you fill Rowan's profile page with so much real content that the wraith has nothing left to erase.

Battle plan

This fight uses everything from Chapter 1:

  • one <h1> for the page title, and <h2> headings for the sections
  • a paragraph with <strong> around the important words
  • an <img> with src, alt and width
  • an unordered list (<ul>) and an ordered list (<ol>)
  • a link to a section of the page (#id) and a link to another website that opens safely in a new tab

A section that starts with a heading and continues with a list looks like this:

<h2 id="pets">Pets</h2>
<ul>
  <li>Owl</li>
  <li>Cat</li>
</ul>

Assignment

Build Rowan's profile inside <body>, from top to bottom:

  1. An <h1>: Rowan the Code Ranger.
  2. An image with src="/icons/owl.svg", the alt text Pip the owl and width="120".
  3. A paragraph: I am a level 7 web adventurer. — with level 7 in <strong>.
  4. A link with the text Jump to my skills that points to #skills.
  5. An <h2> with the text Skills and the id skills, directly followed by an unordered list: Headings, Links, Images.
  6. An <h2> with the text Next quests, directly followed by an ordered list: Learn page structure, Build a sign-up form, Style a page with CSS.
  7. A last paragraph, Find my notes on MDN Web Docs., in which MDN Web Docs is a link to https://developer.mozilla.org that opens in a new tab with rel="noopener".

Every passing test is a hit on the wraith. Land all ten to banish it for good.

Keep learning

Need a quick reminder? The HTML & CSS cheat sheet has every topic of Learn HTML & CSS on one page.

Lesson last updated on .

Write code ↓

The Blank Page Wraith

HP ???

HTML & CSS+100 XP