Build an Event Hub - Build an Event Hub

Tell us what’s happening:

Hey Codemmunity!

Help please, I’ve gotten everything else correct except steps 8 and 10. Both saying that the text of the first item in the unordered list should be Upcoming Events and the same for Past Events.
To me, my code looks fine but it’s obviously not if I’ve got those two wrong. What have I done wrong here please?

Your code so far

<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="utf-8">
    <title>Event Hub</title>
</head>

<body>
    <header>
        <h1>Event Hub</h1>    
    <nav>
        <ul>
            <li><a href="#upcoming-events"></a>Upcoming Events</li>
            <li><a href="#past-events"></a>Past Events</li>
        </ul>
    </nav>
    </header>
<main>
    <section id="upcoming-events"></id>
        <h2>Upcoming Events</h2>
    <article>
        <h3>Feeding the Feeble</h3>
        <p>Come and spend a few hours with us volunteering, aiding in those who are struggling to feed themselves and their families. Help prepare ingredients that our chefs will whip up and help serve the delicious dishes to our communities in need.</p><em>Saturday 6th September '25 from 12pm-4:30pm.</em>
    </article>
    <article>
        <h3>Battling for the Brave</h3>
        <p>Our veterans are facing homelessness, which is something we don't agree with. Come and join us with building them new tiny homes, even if you have no experience, we have crew in place who are there to direct and help our volunteers gain new skills, while getting the satisfaction of giving back to those who fought for our freedom.</p><em>Saturday 20th September '25 from 12pm-4:30pm.</em>
    </section>
    <section id="past-events"></id>
        <h2>Past Events</h2>
    <article>
        <h3>Toys for Tots</h3>
        <p>A huge thank you to all of those from the community who donated large amounts of brand new and pre-loved toys for children. All their birthdays and christmases all at once, it was a wonderful sight to behold all the smiles from the kids and tears from their parents.</p><em>Saturday 23rd August '25.</em> 
    <img src="https://cdn.freecodecamp.org/curriculum/labs/past-event1.jpg" alt="An old IBM computer"/>
    </article>
    <article>
        <h3>Mollycoddling Moms</h3>
        <p>Another fantastic turn out with all the donated items for our homeless Mothers who give everything for their children before themselves. We were fortunate to have put together toietries and personal hygiene items' packs. A massive shoutout to Wheels of Glory for providing a comforting hot shower and laundry services. Thank you to the many salons who dedicated their time into giving free haircuts and styles for these beautiful mothers.</p><em>Saturday 9th August '25.</em>
    <img src="https://cdn.freecodecamp.org/curriculum/labs/past-event2.jpg" alt="Snowflakes and cubes"/>
    </article>
</main>       

</body>

</html>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/139.0.0.0 Safari/537.36

Challenge Information:

Build an Event Hub - Build an Event Hub

2 Likes

Ha! I just figured it out code fam, my anchor closing tags were in the wrong place, before the list thingy instead of after. All solved now lol

1 Like