Build an Event Hub

Tell us what’s happening:

Could anyone tell me why question 10 and 11 are wrong in my code? I swear there is no mistake but I might be blind. I have tried resetting the lesson. THANK YOU

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" target='_blank'>Upcoming Events<a></li>
                <li><a href="#past-events">Past Events</a></li>
            </ul>
        </nav>
    </header>
    <main>
        <section id="upcoming-events">
            <h2>Upcoming Events</h2>
            <article>
                <h3>Computer Attack</h3>
                <p>Computer Attack</p>
            </article>
            <article>
                <h3>Computer Attack</h3>
                <p>Computer Attack</p>
            </article>
        </section>
        <section id="past-events">
            <h2>Past Events</h2>
            <article>
                <h3>Computer Attack</h3>
                <p>Computers Attacking people!</p>
                <img src='https://cdn.freecodecamp.org/curriculum/labs/past-event1.jpg' alt='Computer'>
            </article>
            <article>
                <h3>Cube Attack</h3>
                <p>Cubes Attacking people!</p>
                <img src='https://cdn.freecodecamp.org/curriculum/labs/past-event2.jpg' alt='Cube'>
        </section>
    </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/134.0.0.0 Safari/537.36

Challenge Information:

Build an Event Hub - Build an Event Hub

Hi @pbalekjian

Try closing the first anchor element in the list.

Happy coding

Thanks man :heart: was stuck on that yesterday

1 Like