Build an Event Hub, first 15 are wrong, while the remaining 13 are correct

Tell us what’s happening:

In the Build my Event Hub it’s telling me that the first 15 are wrong and the remaining 13 are correct.

Your code so far

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

<head>
    <meta charset="utf-8">
    <title>Event Hub</title>
</head>

<body>
    <head>
        <h1>Event Hub</h1>
        <nav>
            <ul>
                <li><a href="#upcoming-events">Upcoming Events</a></li>
                <li><a href="#past-events">Past Events</a></li>
            </ul>
        </nav>
    </head>
<main>
    <section id="upcoming-events">
        <h2>Upcoming Events</h2>
            <article>
                <h3>AI & Machine Learning Conference 2024</h3>
                <p>Join us for a deep dive into the latest advancements in artificial intelligence and machine learning. Industry leaders will share insights and case studies on how AI is transforming various sectors.</p>
                <p>Date: August 10, 2024</p>
            </article>
            <article>
                <h3>Web Development Bootcamp</h3>
                <p>A hands-on workshop designed for developers looking to enhance their skills in modern web technologies including React, Node.js, and GraphQL. Perfect for both beginners and experienced developers.</p>
                <p>Date: September 5, 2024</p>
            </article>
    </section>
    <section id="past-events">
        <h2>Past Events</h2>
           <article>
               <h3>Cybersecurity Summit 2024</h3>
               <p>An event focusing on the latest trends and threats in cybersecurity. Experts discussed strategies for protecting data and ensuring privacy in an increasingly digital world.</p>
               <p>Date: June 15, 2024</p>
                <img src="img_computer.png" alt="IBM PC pic">
            </article>
            <article>
                <h3>Blockchain Expo 2024</h3>
                <p>A comprehensive event covering the future of blockchain technology. Topics included decentralized finance (DeFi), smart contracts, and the impact of blockchain on various industries.</p>
                <p>Date: July 20, 2024</p>
                <img src="img_cubes.png" alt="Cubes pic">
            </article>
    </section>
</main>

</body>

</html>

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:142.0) Gecko/20100101 Firefox/142.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

Hi @bkarlan and welcome to our community!

1. You should have a header element.

I can’t see a header element in your code.

That worked, changing it from head to header. Apparently this was discussed, but I don’t recall it being so talked about. What is the difference?

You can look this up. Search for “HTML head element” and “HTML header element”