Tell us what’s happening:
I am having difficulty clearing up one last error:
. Each .nav-link should have an href attribute that links to its corresponding .main-section (e.g. If you click on a .nav-link element that contains the text “Hello world”, the page navigates to a section element with that id).
Your code so far
<!-- file: index.html -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" >
<link rel="stylesheet" href="styles.css" >
<title>The White Stripes Discography</title>
</head>
<body>
<nav id="navbar">
<header><br >Studio Albums</header>
<hr >
<a href="the_white_stripes" class="nav-link">The White Stripes</a><br >
<a href="de_stijl" class="nav-link">De Stijl</a><br >
<hr >
<a href="white_blood_cells" class="nav-link">White Blood Cells</a><br >
<hr >
<a href="elephant" class="nav-link">Elephant</a><br >
<hr >
<a href="get_behind_me_satan" class="nav-link">Get Behind Me Satan</a
><br >
<hr >
<a href="icky_thump" class="nav-link">Icky Thump</a
><br>
<hr >
<a href="#more_information" class="nav-link">More Information</a>
</nav>
<main id="main-doc">
<section class="main-section" id="The_White_Stripes">
<header><b>The White Stripes</b></header>
<p>
The White Stripes is the band's debut album, released June 15, 1999.
</p>
<p>It sold 335,000 copies in the United States.</p>
<h2>Track List</h2>
<ol>
<li>Jimmy the Exploder</li>
<li>Stop Breaking Down</li>
<li>The Big Three Killed My Baby</li>
<li>Suzy Lee</li>
<li>Sugar Never Tasted So Good</li>
<li>Wasting My Time</li>
<li>Cannon</li>
<li>Astro</li>
<li>Broken Bricks</li>
<li>When I Hear My Name</li>
<li>Do</li>
<li>Screwdriver</li>
<li>One More Cup of Coffee</li>
<li>Little People</li>
<li>Slicker Drips</li>
<li>St. James Infirmary Blues</li>
<li>I Fought Piranhas</li>
</ol>
<a href="https://www.whitestripes.com/release/the-white-stripes/">The White Stripes Official Album Page</a>
<br >
<code> | | | </code><br >
</section>
<section class="main-section" id="De_Stijl">
<header><b>De Stijl</b></header>
<p>
De Stijl is White Stripe's second album, released June 20, 2000.
</p>
<p>It sold 366,000 copies in the United States.</p>
<h2>Track List</h2>
<ol>
<li>You're
Pretty Good Looking (For a Girl)</li>
<li>Hello Operator</li>
<li>Little Bird</li>
<li>Apple Blossom</li>
<li>I'm Bound to Pack It Up</li>
<li>Death Letter</li>
<li>Sister, Do You Know My Name?</li>
<li>Truth Doesn't Make a Noise</li>
<li>A Boy's Best Friend<li>
<li>Let's Build a Home</li>
<li>Jumble, Jumble</li>
<li>Why Can't You Be Nicer to Me?</li>
<li>Your Southern Can Is Mine</li>
</ol>
<a href="https://www.whitestripes.com/release/de-stijl/">De Stijl Official Album Page</a>
<br >
<code> | | | </code><br >
</section>
<section class="main-section" id="white_blood_cells">
<header>White Blood Cells</header>
<p>
White Stripe's third studio album is White Blood Cells. It was released July 3, 2001.
</p>
<p>It sold 1,114,000 copies in the United States.</p>
<h2>Track List</h2>
<ol>
<li>Dead Leaves and the Dirty Ground</li>
<li>Hotel Yorba</li>
<li>I'm Finding It Harder to Be a Gentleman</li>
<li>Fell in Love with a Girl</li>
<li>Expecting</li>
<li>Little Room</li>
<li>The Union Forever</li>
<li>The Same Boy You've Always Known</li>
<li>We're Going to Be Friends</li>
<li>Offend in Every Way</li>
<li>I Think I Smell a Rat</li>
<li>Aluminum</li>
<li>I Can't Wait</li>
<li>Now Mary</li>
<li>I Can Learn</li>
<li>This Protector</li>
</ol>
<a href="https://www.whitestripes.com/release/white-blood-cells/">White Blood Cells Official Album Page</a>
<br >
<code> | | | </code><br >
</section>
<section class="main-section" id="elephant">
<header>Elephant</header>
<p>The White Stripe's fourth studio album, Elephant was released on April 1, 2003. </p>
<p>It sold 2,,000 copies in the United States.</p>
<h2>Track List</h2>
<ol>
<li>Seven Nation Army</li>
<li>Black Math</li>
<li>There's No Home For You Here</li>
<li>I just Don't Know What To Do With Myself</li>
<li>In the Cold, Cold Night</li>
<li>I want to Be the Boy to Warm Your Mother's Heart</li>
<li>You've Got Her In Your Pocket</li>
<li>Ball and Biscuit</li>
<li>The Hardest Button To Button</li>
<li>Little Acorns</li>
<li>Hypnotize</li>
<li>The Air Near My Fingers</li>
<li>Girl, You Have No Faith In Medicine</li>
<li>Well It's True That We Love One Another</li>
</ol>
<a href="https://www.whitestripes.com/release/elephant//">Elephant Official Album Page</a>
<br >
<code> | | | </code><br >
</section>
<section class="main-section" id="get_behind_me_satan">
<header>Get Behind Me Satan</header>
<p>
Get Behind Me Satan is The White Stripe's fifth studio album. It was released on June 7, 2005.</p>
<p>It sold 920,000 copies in the United States.</p>
<h2>Track List</h2>
<ol>
<li>Blue Orchid</li>
<li>The Nurse</li>
<li>My Doorbell</li>
<li>Forever For Her (Is Over For Me)</li>
<li>Little Ghost</li>
<li>The Denial Twist</li>
<li>White Moon</li>
<li>Instinct Blues</li>
<li>Passive Manipulation</li>
<li>Take, Take, Take</li>
<li>As Ugly As I Seem</li>
<li>Red Rain</li>
<li>I'm Lonley (But I Ain't That Lonely Yet)</li>
</ol>
<a href="https://www.whitestripes.com/release/get-behind-me-satan/">Get Behind Me Satan Official Album Page</a>
<br >
<code> | | | </code><br >
</section>
<section class="main-section" id="icky_thump">
<header>Icky Thump</header>
<p>
<a href="https://www.whitestripes.com/release/icky-thump/">Icky Thump Official Album Page</a>
<p>Icky Thump is the White Stripe's sixth and final studio album. It was released June 15, 2007.</p>
<p>It sold 801,000 copies in the United States.</p>
<h2>Track List</h2>
<ol>
<li>Icky Thump</li>
<li>You Don't Know What Love Is (You Just Do As You're Told)</li>
<li>300 M.P.H. Torrential Outpour Blues</li>
<li>Conquest</li>
<li>Bone Broke</li>
<li>Prickly Thorn, but Sweetly Worn</li>
<li>St. Andrew (This Battle Is In The Air)</li>
<li>Little Cream Soda</li>
<li>I'm Slowly Turning Into You</li>
<li>A Martyr For My Love For You</li>
<li>Catch Hell Blues</li>
<li>Effect and Cause</li>
</ol>
<code> | | | </code><br >
</section>
<section class="main-section" id="more_information">
<header>More Information</header>
<p>
<a href="https://en.wikipedia.org/wiki/The_White_Stripes_discography">Wikipedia</a>
</p>
<p>
<a href="https://www.whitestripes.com/release/">www.whitestripes.com</a>
</p>
</section>
</main>
</body>
</html>
/* file: styles.css */
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36
Challenge Information:
Technical Documentation Page - Build a Technical Documentation Page