Build an Event Hub - Build an Event Hub

Tell us what’s happening:

My main element is present after the header element but it wouldn’t pass, it keeps asking for the main element and there isn’t any typo.

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">Past Events</li>
      </ul>
   </nav>
 </header>
 <main>
   <section id="upcoming-events">
     <h2>Upcoming Events</h2>
     <article>
       <h3>Students week</h3>
       <p>socail week for students.</p>
     </article>
     <article>
       <h3>Tade fair</h3>
       <p>An ocassion that involves all out buying and selling  of products for a specific day.</p>
     </article>
    </section>
    <section id="past-events">
      <h2>Past Events</h2>
      <article>
        <h3>Fun fair</h3>
        <p>An event involving games, dancing and singing.</p>
        <img src="https://cdn.freecodecamp.org/curriculum/labs/past-event1.jpg" alt="gaming computer"/>
      </article>
      <article>
        <h3>Students election</h3>
        <p>Students participate in electoral process to select their representatives.</p>
        <img src="https://cdn.freecodecamp.org/curriculum/labs/past-event2.jpg" alt="colorful picture"/>
      </article>
    </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/140.0.0.0 Safari/537.36

Challenge Information:

Build an Event Hub - Build an Event Hub

you have a number of syntax errors. Please fix them then try again.
To get a full list of them, go to this online html validator and paste your html there:

1 Like

Rectified , one anchor element didint poses the closing tag. Thank you!

1 Like