Learn HTML by Building a Cat Photo App - Step 16

helppppppp

Your code so far

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
    <section>
      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->
      <p>See more <a target="_blank" href="https://freecatphotoapp.com">cat photos</a> in our gallery.</p>
    </section>
      <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>
  </body>
</html>

Your mobile information:

Nokia C12 - Android 12 - Android SDK 31

Challenge: Learn HTML by Building a Cat Photo App - Step 16

Link to the challenge:

The link should be inside <section></section> too

2 Likes

i changed it, and its not working it says it should between

can you post your latest code please?

Move the closing tag</section> bellow the link (<a></a>) to make the link nested inside the section.

2 Likes

Well tried, But here you need to add your anchor tag too inside your section element !!

Hope You Understand !!