Tell us what’s happening:
Describe your issue in detail here.
**Your code so far**
<!-- 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 <img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back."> /a>
**Your browser information:**
User Agent is:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.5005.63 Safari/537.36
Challenge: Step 14
Link to the challenge:
Hello there @jerrymiah. Welcome to the FCC Community.
All you need to do is wrap your
<img> element around with an anchor tag
To wrap an HTML element with another you can follow this step:
<p> <a href="some-url"> a link in a paragraph </a>. </p>
In the example I gave you above, the link is wrapped by a paragraph and alternatively you can say the paragraph has a nested link because the link is inside of the paragraph.
Using this ideology you can now approach the challenge by wrapping your
<img> with a
<a href=""></a>. Do not forget to use the correct URL for your anchor tag.
Hope this helps. Happy Coding👍!
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.