Learn HTML by Building a Cat Photo App - Step 12

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

  **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 https://freecatphotoapp.com</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 (Windows NT 10.0; Win64; x64; rv:103.0) Gecko/20100101 Firefox/103.0

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

Link to the challenge:

You still want the text in the p element to say “Click here to view more cat photos.” So you can’t delete any of those words. You just want to turn the words “cat photos” in that sentence into a link. And you have already done this exact thing in the previous steps. You created a “cat photos” link below the p element:

<a href="https://freecatphotoapp.com">cat photos</a>

Do you remember this? This is turning the words “cat photos” into a link. You did this by surrounding the words with opening and closing a tags. That’s how you turn anything into a link, surround them with a tags. So now you just need to do the same thing to the words “cat photos” in the p element.

That’s looking pretty good. But look at the first “cat photos” link you made. It looks like there is both an opening and closing a tag. Does yours have both?

UPDATE: You deleted the code above. It’s better to leave it there so the following comments make sense.

Apologies, i removed it with the intention of creating a new topic. It was my first query and wasnt sure if i shouldve posted it on someone elses thread

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