Learn HTML by Building a Cat Photo App - Step 11

Tell us what’s happening:
Describe your issue in detail here.

Your code so far

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->
      <p>See more cat photos in our gallery.</p>

<!-- User Editable Region -->

      <a href="https://freecatphotoapp.com">(click here to go to freecatphotoapp.com </a>link to cat pictures)

<!-- 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 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36 Edg/114.0.1823.67

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

Link to the challenge:

Hello,

Your anchor tag is wrongly formatted.

According the challenge instructions, the only text within the anchot tag should be link to cat pictures. So, remove all text in anchor tag and add this text.

Also, you should have no text after the closing </a> tag. If confused about the structure of the anchor tag, here is an example:

<a href="somewebsiteiwillvisit.com">Text I will click to visit the site in the href</a>

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