Learn HTML by Building a Cat Photo App - Step 12

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

I tried an anchor a wothin the p element but it don’t seems to work Iam doing somethink wrong please help :slight_smile:

Your code so far

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->
      <p>Click here to view more <a href="cat photos"</a>
      </p>  
      <a href="https://freecatphotoapp.com">link to cat pictures</a>
      <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_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36

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

Link to the challenge:

Hi, Florian
You are almost there. This is the same as previous task.
Hint: you have typo

1 Like

hi there, your anchor element is not correctly formed.
The href attribute is supposed to contain the location of the website that the link ‘links’ to.
the phrase cat photos is meant to be the text of the anchor.
You also are missing the period that was at the end of the sentence.

I wrote a post explaining how to create links within paragraphs that you may find helpful

1 Like

Thanks a lot for taking the time :smiley:

1 Like