Learn HTML by Building a Cat Photo App - Step 14

I’ve been stuck on this for an hour. To my understanding the question is asking to turn it into a hyperlink.

  **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>
  <a href="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg">
  <img src="https://freecatphotoapp.com" alt="A cute orange cat lying on its back."> </a>
  </main>
</body>
</html>
  **Your browser information:**

User Agent is: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0

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

Link to the challenge:

Don’t change any of the code that is already there. Add “a href=https://freecatphotoapp.com” between the <> symbols before the code for the image. Then add “/a” between the <> symbols after the code for the image. All of this can be on 1 line.

Mod Edit: Solution Removed

1 Like

It is great that you solved the challenge, but instead of posting your full working solution, it is best to stay focused on answering the original poster’s question(s) and help guide them with hints and suggestions to solve their own issues with the challenge.

We are trying to cut back on the number of spoiler solutions found on the forum and instead focus on helping other campers with their questions and definitely not posting full working solutions.

1 Like

So I’m still getting this wrong

<a href="https://freecatphotoapp.com"> <img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back."</a>

edit: was missing a closing tag before the . I got it correct now

just change the img’s src=" change it " to a’s href=“change between links”.
You just put links inapropriate places.

1 Like