Replace the Divs
HTML / CSS
10 pts
Replace the Divs
This sports club page is built only from divs. Replace every div with the right semantic element (change the closing tags too):
div class="header"→<header>div class="menu"→<nav>div class="content"→<main>div class="story"→<article>div class="footer"→<footer>
When you finish, there should be no <div> left.
Checklist
- Use
<header>and<nav>for the top of the page. - Use
<main>and<article>for the content. - Use
<footer>for the bottom. - Leave no
<div>on the page.
🔑 Solution
If you view the solution before passing, you earn half points for this exercise. You still need to type it and press Check to finish.
How it works, step by step
Point at a step to highlight its lines. Type the solution yourself and press Check answer to finish.
