Tell us what’s happening:
Describe your issue in detail here.
I cant seem to find the right placement for the anchor element to start. The image keeps disappearing on me. Please let me know what im doing wrong. Thank you.
**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 <img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" href= "https://freecatphotoapp.com"> </a>alt="A cute orange cat lying on its back.">
**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.124 Safari/537.36 Edg/102.0.1245.44
Challenge: Step 14
Link to the challenge:
The problem here is your html elements are missing a few closing tags and your attributes are not attributed to the right element. Here is the code that is formatted correctly.
Mod Edit : SOLUTION REDACTED
One thing that helps me see the code clearer is to format it like this.
Mod Edit: SOLUTION REDACTED
Hope this helps you.
Thank you for helping a nooob out.
Please post your actual code instead of a picture. Thanks
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.
<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>
It’s saying I have too many anchor elements and then I remove the closing element and it says I need a closer. It also mentions something about an “elementName”. Please help. I’m about to throw my iPad.
You removed the closing > on the img element
Thanks man. That one held me up for longer than I wanted.
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.