Learn HTML by Building a Cat Photo App - Step 12

Tell us what’s happening:
Describe your issue in detail here. I can see the hyperlink and click on it and it works. I have adjusted the anchor from to <a with link here> and the but it says something is omitted. This is also in between the element.

Your code so far

      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->
      <p> <a href="https://freecatphotoapp.com"> Click here to view more cat photos.</a> </p>
      <img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back.">

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/15.5 Safari/605.1.15

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

Link to the challenge:

I’ve even adjusted it to work so that the cat phot part of the sentence is the hyperlink.

Click here to view more Cat Photos.

The code you posted doesn’t show that you have made the last two words of the paragraph into a link.

Also it should be cat photos in the link not Cat Photos.

If you have new code and you’re still stuck then please post the code again for review.

 " <p> Click here to view more  <a href="https://freecatphotoapp.com">Cat Photos.</a></p>"

You need to change it back to cat photos, not Cat Photos

also move the period outside the link and to the right
Only the words “cat photos” should be inside the link (no punctuation)

ah, awesome. Thanks. It works.

1 Like

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