Build a Video Compilation Page - Build a Video Compilation Page

Tell us what’s happening:

my code did not identify my <p> element and <iframe> element in section element. Pleas correct where I am wrong.

Your code so far

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

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

<body>
<main>
<h1>Video Compilation Page</h1>
<p>latest songs with high quality video</p>
<section>
    <h2>Samne Rehni E<h2>
        <p>A new punjabi song by pav dharia.</p>
        <iframe src="https://youtu.be/rrlY04Hmb4U?si=NVwaqQ6-EAa4ewbO" title="song" height="300"
        width="550" control loop muted></iframe>
</section>
<section>
    <h2>Call Aundi H<h2>
        <p>T-series present honey singh new song.</p>
        <iframe src="https://youtu.be/OIv0FLrbnGE?si=lUgZ7nS4IchlQdKH" title="song" height="300"
        width="550" control loop muted></iframe>
</section>
<section>
    <h2>To The Stars<h2>
        <p>To the stars official song by the prophec.</p>
        <iframe src="https://youtu.be/kNdkQftM2ek?si=3hk9HUwmNBRkTej3" title="song" height="300"
        width="550" control loop muted></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/137.0.0.0 Safari/537.36

Challenge Information:

Build a Video Compilation Page - Build a Video Compilation Page

Welcome to the forum @lucky22

The h2 closing tags are missing something.

Happy coding

hello and welcome to fcc forum :slight_smile:

  • are you closing all these “h2” elements within “section” correctly?

happy coding :slight_smile: