Build an Event Hub - Build an Event Hub

Tell us what’s happening:

Build an event hub, stuck on 28. each p element should have the event description
There’s no specific text they want displayed, the descriptions for upcoming events cleared but i can’t seem to find my mistake with the p elements for past event descriptions

Your code so far

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

<head>
    <meta charset="utf-8">
    <title>Event Hub</title>
</head>
<header>
    <h1>Event Hub</h1>
        <nav>
            <ul>
                <li><a href="#upcoming-events">Upcoming Events</a></li>
                <li><a href="#past-events">Past Events</a></p>
        </nav>
</header>

<main>
    <section id="upcoming-events">
        <h2>Upcoming Events</h2>
        <article>
            <h3>Event 1</h3>
                <p>lorem ipsum text</p>
        
        </article>

         <article>
            <h3>Event 2</h3>
                <p>lorem ipsum text</p>
        
        </article>

    </section>

      <section id="past-events">
        <h2>Past Events</h2>
        <article>
            <h3>Event -1</h3>
             <p>lorem ipsum text</p>
          <img src="https://cdn.freecodecamp.org/curriculum/labs/past-event1.jpg" alt="past event -1">              
            
        </article>

         <article>
            <h3>Event -2</h3>
             <p>lorem ipsum text</p>
             <img src="https://cdn.freecodecamp.org/curriculum/labs/past-event2.jpg" alt="past event -2">   
                
            
        </article>

    </section>

    
</main>
<body>

</body>

</html>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:148.0) Gecko/20100101 Firefox/148.0

Challenge Information:

Build an Event Hub - Build an Event Hub

Welcome to the forum @lyt034 !

Try checking your code with this HTML Validator to find your errors.

Happy coding!

2 Likes