NYC blog project, image and audio are not displayed

I stuck on my NYC project.
(https://www.codecademy.com/paths/front-end-engineer-career-path/tracks/fecp-web-development-fundamentals/modules/fecp-semantic-HTML/projects/semantic-html-nyc-blog)
I have finished all instructions and checked for hints on my way, everything seems correct, but my website does not display image in embed element, and audio element is not displayed as well. I have compared codes to other students in the forum, but couldn’t find the problem. Please help me)
Here is the code

<!DOCTYPE html>

<html>

  <head>

    <link rel="stylesheet" href="style.css">

  </head>

  <body>   

    <nav>

      <ul>

        <li><a href="#blog">Blog</a></li>

        <li><a href="#media">Media</a></li>

        <li><a href="#about">About</a></li>

      </ul>

    </nav>

     <header>

       <h1>New York City</h1>

      </header>

     <main>

       <section id="blog">

         <article>

           <p>New York City is made up of five boroughs which include Queens, Manhattan, Brooklyn, the Bronx, and Staten Island. The city is the home of approximately 8 million people. In 1876, France gifted the City of New York what is known as the Statue of Liberty, which is currently located on Ellis Island commonly visited by tourists. However, it took 10 years to assemble and therefore wasn’t unveiled until 1886. Another tourist destination is Times Square. Times Square is commonly known for the big buildings, Broadway shows, and bright neon signs. This famous location was named after The New York Times after the Times moved to that location. Prior to that, it was named Longacre Square. New York City is also known for its bridges that connect the boroughs and allow ease of transportation.

            </p>

          </article>

        </section>

        <figure>

          <img src="https://content.codecademy.com/courses/Semantic%20HTML/statue-of-liberty.jpeg" />

          <figcaption>This is the Statue of Liberty, a popular tourist attraction located on Ellis Island. </figcaption>

        </figure>

        <aside>

          <p>New York City is very popular for the variety of great food it has. Some of the top food items in NYC include:

          </p>

          <ol>

            <li>Pizza</li>

            <li>Bagels</li>

            <li>Burhers and Sandwiches</li>

            <li>Ramen</li>

            <li>Tacos</li>

            <li>Pasta</li>

            <li>Desserts</li>

          </ol>

        </aside>

        <section id="media">

          <article>

            <h2>The Scenery in NYC</h2>

            <p>While the view in the city is beautiful, the sounds are not as lovely. Below you'll see an example of the view and the sounds you'll deal with in NYC on a daily basis.</p>

          </article>

          <video controls src="https://content.codecademy.com/courses/Semantic%20HTML/nyc-skyline-timelapse.mp4" />

          <embed src="https://content.codecademy.com/courses/Semantic%20HTML/nyc-skyline.jpeg" />

          <audio controls src="https://content.codecademy.com/courses/Semantic%20HTML/nyc-sounds.mov">

          </audio>

        </section>

        </main>

        <footer>

          <p>Posted by:Dayana</p>

        </footer>

      </body>

    </html>

I think that the <video> tag is not a self-closing tag.
so it would have to be …
<video controls src="url_goes_here"> text to show if video fails </video>

instead of
<video controls src="url_goes_here" />

1 Like