Plz help me with step 15 section element

Take all the elements currently located within the main element and nest them in a section element.

idk which part is wrong

  **Your code so far**
<html>
<body>
  <h1>CatPhotoApp</h1>
    <section>
      <main>  
    <h2>Cat Photos</h2>
    <!-- TODO: Add link to cat photos -->
    <p>Click here to view more <a target="_blank" href="https://freecatphotoapp.com">cat photos</a>.</p>
    <a href="https://freecatphotoapp.com"><img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back."></a>     
    </main>
    </section>
</body>
</html>
  **Your browser information:**

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.1.2 Safari/605.1.15

Challenge: Step 15

Link to the challenge:

Don’t place main element in section, only elements from h2 to anchor inclusive.

1 Like