Learn HTML by Building a Cat Photo App - Step 14

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

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 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 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.6.1 Safari/605.1.15

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

Link to the challenge:

hi there, did you have a question?

mod edit: solution redacted

Yes I’m stuck on something

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.

what is it you need help with? please explain more.

I have to turn the image into a link another link but it keeps say they way that i do it is wrong

add target=“_blank” before the href of anchor (a )

are you on step 14 or step 15?

Yes i am step 15 and its kind of hard

You’ll need to surround the image with the href link. Add the link before your img tag then close your link tag after the image. It’s basically no different than turning text into a link.

please click on the ask for help button if you are stuck so you can show everyone the code and ask your question in a separate thread

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