Short question from a beginner

Tell us what’s happening:
I do not understand what’s wrong in this text.
I made the link for the cat photos an before the freecatphotoapp is a href

Your code so far

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->

<!-- User Editable Region -->

      <p>See more <a href="cat photos">cat photos</a> in our gallery.</p>
      <a href="https://freecatphotoapp.com">link to cat pictures</a>

<!-- User Editable Region -->

      <img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back.">
    </main>
  </body>
</html>

Your browser information:

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

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

Link to the challenge:

Hello and welcome to the community :smiley:!

Anything that goes in your opening elements tag is going to affect your elements behaviour but (usually) not how it appears on the page. In the href attribute you should have the address of the page you want your image to link to which in this case is:

href = "https://freecatphotoapp.com"
1 Like

I got a mistake in thinking! Thank you very much

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.