Need a help to solve step 14

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 <a target="_blank" href="https://freecatphotoapp.com">cat photos</a>.</p>
  <a href="https://freecatphotoapp.com"/a>
    <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/101.0.4951.67 Safari/537.36

Challenge: Step 14

Link to the challenge:

You’re very close. Remember, an element like a link has both an opening tag and closing tag. So when you surround (or wrap) and image with a link then you are putting it between the opening and closing tags for the link.

1 Like

I still can’t solve…

heyyo

so heres an example of a <p> wrapped in an anchor tag

<a href="https://facebook.com"><p>hello world</p></a>

notice how the <p> is wrapped in the <a>… how would you use am image tag instead of a paragraph tag? try resetting your code and give it a fresh attempt

1 Like

Heres an advice, since your stuck in the most simple HTML problem maybe try watching this :

i suggest you watch basic HTML and basic CSS crash course by this guy then come to this amazing community and learn by doing

Here’s another advice that will help you in the future with more complicated problems (sorry but this is the simplest problem iv ever seen… no offence)

when your stuck… remember Google is your best friend (no offence for this community everyone is helpful here for sure) but instead of waiting someone to tell u what to do u could just find out the answer in 30 seconds.

1 Like

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