Tell us what’s happening:
What is wrong with my main tag and section ids it keeps saying they are incorrect
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>Event Title</h3>
<p>Event information</p>
</article>
<article>
<h3>Event Title</h3>
<p>Event information</p>
</article>
</section>
<section id="past-events">
<h2>Past Events</h2>
<article>
<h3>Event Title</h3>
<p>Event Information</p>
<img src="https://cdn.freecodecamp.org/curriculum/labs/past-event1.jpg" alt="event">
</article>
<article>
<h3>Event Title</h3>
<p>Event Information</p>
<img src="https://cdn.freecodecamp.org/curriculum/labs/past-event1.jpg" alt="event">
</article>
</section>
</main>
</body>
</html>
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 Safari/537.36
Challenge Information:
Build an Event Hub - Build an Event Hub