Tell us what’s happening:
I’m trying to figure out what the issue is with the h3 and p elements in the section area. It says that it should have the h3 and the p which it does but can’t figure out what I’m doing wrong.
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" target="_blank">Upcoming Events</a></li>
<li><a href="#past-events">Past Events</a></li>
</ul>
</nav>
</header>
<body>
<main>
<section id="upcoming-events">
<h2>Upcoming Events</h2>
<article>
<h3>Upcoming Events</h3>
<p></p>
<img src="https://cdn.freecodecamp.org/curriculum/labs/past-event1.jpg">
</article>
<article>
<h3>Upcoming Events</h3>
<p></p>
<img src="https://cdn.freecodecamp.org/curriculum/labs/past-event2.jpg">
</article>
</section>
<section id="past-events">
<h2>Past Events</h2>
<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/134.0.0.0 Safari/537.36
Challenge Information:
Build an Event Hub - Build an Event Hub