Stuck on HTML step 12

Tell us what’s happening:
For step 12 I don’t understand how to make “cat photos” a link with “a href”

  **Your code so far**
<html>
<body>
  <h1>CatPhotoApp</h1>
  <main>
    <h2>Cat Photos</h2>
    <!-- TODO: Add link to cat photos -->
    <p>Click here to view more cat photos <a href="https://freecatphotoapp.com"></a> </p>
    
    <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 (iPad; CPU OS 15_5 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/103.0.5060.63 Mobile/15E148 Safari/604.1

Challenge: Step 12

Link to the challenge:

You need to delete cat photos from where its says Click here to view more cat photos and add cat photo after

In other words, “cat photos” goes inside the link. Right now you have an empty link.

This also took me a while. One simply has to change the position of the closing paragraph tag(

) since the link with the “cat photos” is not nested and is outside of the

. Your answer has to have the link in the

.
Should look like this:

Click here to view cat photos

Hope this helps :-)
2 Likes

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