Build an Event Hub - Build an Event Hub

Tell us what’s happening:

I’m on the “Build an Event Hub”, I’ve redone it so many times but it keeps coming up with an error on <img src=“url link” alt="photo of a computer>, both my lines of code I have programmed will not allow me to progress, I cant understand why??? I’ve been programming for months now, its not like I’m new to it, I’ve looked on any website I can. Still cant win with this one…has anyone else struggled with building the hub?? I’m not saying my codes are perfect but I do know stuff!!

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</a></li>
    </ul>
    </nav>
    </header>
    <main>
        <section id="upcoming-events">
            <h2>Upcoming Events</h2>
           <article>
               <h3>Ai and machine learning Conference</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: 20/05/2026</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: 20/07/2026</p>
        </article>
     </section>
    <section id="past-events">
        <h2>Past Events</h2>
        <article>
            <h3>CyberSecurity Summit 2026</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>23.04.2026</p>
            <img src="https://cdn.freecodecamp.org/curriculum/labs/past-event1.jpg" alt"photo of a computer">
        </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="https://cdn.freecodecamp.org/curriculum/labs/past-event2.jpg" alt="image of squares">
    </article>
    </main>

</body>

</html>

Your browser information:

User Agent is: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36

Challenge Information:

Build an Event Hub - Build an Event Hub

Hi @bunnyprog

Compare the syntax of the first alt attribute to the second one.

Also, your code is missing a closing section tag.

Happy coding

1 Like

are you sure you wrote the right thing?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.