Learn HTML by Building a Cat Photo App - Step 15

Tell us what’s happening:
Help!!! I am stuck on Step 15! I have been trying for 2 hours to get to the next step!

  **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 <a target="_blank" href="https://freecatphotoapp.com">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."
  </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/105.0.0.0 Safari/537.36

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

Link to the challenge:

  1. I don’t see an anchor element here

  2. You changed the img element, but the img element must not be modified

I need help. Do you have an answer. because I have been trying to get off of this for 2 hour and a half.

I cannot write the answer for you; that is against the rules.

Did you look at what I wrote here:

I did not changed the img element? Do you have a hint?

You did change the img element. You deleted the >

You have an anchor element here. You need to do something similar, but around the original img element instead of around the text ‘cat photos’.

Ok. Thank you for the hint. I have, but everything I do is wrong. I will keep trying!!!

Just post your latest code if you have more questions!

hello and welcome to fcc forum :slight_smile:

few things to note:

  • as “jeremy” pointed it out “img” element is not “turned” into a “link” as it says in instructions
  • also this “img” tag is missing “closing bracket”, which is also been pointed out

do you see how that “cat photos” text in that “p” element is a clickable “link”? now take that information in and implement that for this “step” by turning this “img” tag into a clickable “link”

hopefully this was helpful, please feel free to ask if you have any other questions that you might have, and also do share your “current codebase”

happy learning :slight_smile: