Build an Event Hub - Build an Event Hub

Tell us what’s happening:

hello how are you going? i need help about this code i don"t see where is the error.

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">Upcoming Events</a></li>
     <li><a href="#past-events"</a>Past Events</li>
        </ul>
    </nav>
    </header>
    <main>
        <section></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/142.0.0.0 Safari/537.36 Edg/142.0.0.0

Challenge Information:

Build an Event Hub - Build an Event Hub
https://www.freecodecamp.org/learn/full-stack-developer/lab-event-hub/lab-event-hub

what failing test are you trying to solve? which line of code would satisfy that?

Hi @willyowona35

The second opening anchor tag is missing a closing angular bracket.

In the browser preview, the second list element is not showing in a blue colour. The blue colour indicates a link.

Compare where the link text is placed for the two anchor elements.

Happy coding

1 Like