Build a Video Compilation Page - Build a Video Compilation Page

Tell us what’s happening:

I’m not sure what is wrong with my code. My first and last elements are showing up on the preview but the test says that my first and second elements are correct.

Your code so far

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

<head>
    <meta charset="utf-8">
    <title>Video Compilation Page</title>
</head>

<body>
  <main>
    <h1>Art Medium Selection</h1>
    <p>It is important to choose the right art medium for what you are trying to accomplish. If you have a specific goal in mind for how your art looks, the message you are trying to convey, or just the feel of the medium as you use it.</p>
    <section>
        <h2>Acrylic Paint</h2>
        <p>Acrylic paint is a wonderful medium if you are trying to achieve texture in your piece. It also allows for the painter to redo parts of the piece as it is a quick to dry paint.</p>
        <iframe
            src="https://youtube/reeja7uP0QM"
            height="250"
            width="250"
            title="Acrylic Paint Tutorial"
        </iframe>
    </section>
    
    <section>
        <h2>Watercolor Paint</h2>
        <p>Watercolor paint is a very versatile medium but can require a lot of patience and creativity. The dry time should very much be accounted for when working with this medium. This paint also pairs quite well with gaouche.</p>
        <iframe
        width="250" 
        height="250" 
        src="https://www.youtube.com/embed/y5qWfYlUYgs?si=hJYSf8GH4fsK0Q1U" 
        title="YouTube video player"
        allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" 
referrerpolicy="strict-origin-when-cross-origin"
        </iframe>
    </section>
    <section>
        <h2>Oil Paint</h2>
        <p>Oil paint is oil based and therefore it can take much longer to dry. This can be helpful if the artist is trying to build up layers of color or texture. Because this paint is oil based it requires a specific solution to clean the medium out of the brushes that were used for application of the paint.</p>
        <iframe 
        src="https://www.youtube.com/embed/A2gsfar6RaMsi=2aG2TsID_kyCi7z9" 
        title="YouTube video player" 
        width="250" 
        height="250" 
        frameborder="0"     
        allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
        </iframe>
        </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 a Video Compilation Page - Build a Video Compilation Page

Welcome to the forum @lauren.rowbotham

The iframe opening tags are missing the closing angular bracket.

Happy coding