Learn HTML by Building a Cat Photo App - Step 12

Tell us what’s happening:
Describe your issue in detail here.
Have tried different tags in different places, searched for an example or idea. Everything I try does not work.
Need help.
Thanks

Your code so far

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->
      <p><a href="https://freecatphotoapp.com">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 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36

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

Link to the challenge:

I would reset the code. You changed this anchor element, but the instructions did not ask you to.

This is the original code:

      <p>Click here to view more cat photos.</p>
      <a href="https://freecatphotoapp.com">link to cat pictures</a>

You should not change the second line but use it as an example and replace ONLY the phrase ‘cat photos’ with an anchor element that has the text ‘cat photos’ as the anchor text (between the two tags).

this anchor looks correct but you have deleted all the text that used to be inside the paragraph.

The original text was:

Click here to view more cat photos.

And they asked you to turn the last 2 words into a link.

The final result of this is that when you check the preview pane you should see

Click here to view more cat photos.

(the whole sentence must still be there including the period dot at the end)

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