Having issues with step 14 html css

Tell us what’s happening:
Describe your issue in detail here.
Not gonna lie I’ve been using this forum to get more and more help because honestly this is not easy to learn without context, I feel lost right now. Any help would be appreciated.

  **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.
    <img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back."></a></p>
  </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/102.0.0.0 Safari/537.36

Challenge: Step 14

Link to the challenge:

i think the problem is that you combined lines 7 and 8. You should put the </a></p>
after the cat photos section and then start on line 8. sorry if this is confusing :sweat_smile:

I am lost on how to start/ what to do with line 8 if I am closing my anchor on line 7

you should open a new anchor on line 8, and include the target and href attributes in the opening anchor. Then, write an img element and include the src and alt attributes in there. After that, write the closing anchor and you’re done!

2 Likes

I have no idea why I thought that you can only use an anchor once, I think I need to redo the previous lessons. I figured it out, thank you for your help.

1 Like

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