Learn HTML by Building a Cat Photo App - Step 12

Tell us what’s happening:
Describe your issue in detail here.
I dont know how to add a link to the words CAT PHOTOS in the p element
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>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_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 Safari/537.36

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

Link to the challenge:

Hello,

The quotes of your link should not include your attribute href but start after the equal sign.

I took away the quotes and only put it around “https://freecatphotoapp.com” and it still doesnt work

Please click the reset button to restore the code back to the starting point.

After that pls read this post for help understanding how to make a link inside a paragraph

Then make sure your final result in the preview pane is like this

Click here to view more cat photos.

Such that only the last two words are clickable.

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