I have no idea what I am doing wrong.
I have read other 's issues trying to solve step 15 (and I’ve tried solving according to the solutions) but I somehow just can’t get the hang of it.
Can somebody please help?
<html>
<body>
<main>
<h1>CatPhotoApp</h1>
<h2>Cat Photos</h2>
<!-- TODO: Add link to cat photos -->
<p>See more <a target="_blank" href="https://freecatphotoapp.com">cat photos</a> in our gallery.</p>
<!-- User Editable Region -->
<a herf="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>
<!-- User Editable Region -->
</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/120.0.0.0 Safari/537.36
i believe you accidentally deleted the “.” at the end of “A cute orange cat lying on its back”.
Try adding the dot. Is it working?
Second thing you can try is changing the browser or browser setting like @hasanzaib1389 recommends. I know that Browser Themes like “dark-mode” and Addons like “Add-Blocks” can interfere with the checking algorithms of freeCodeCamp.
This is quite possibly just a browser issue. I removed the “.” at the end of the alt attribute intentionally & it passed. Your code has it’s closing tag so I don’t know why it would give you that error.
Above the “Step 15” Window you have an other <img Elemnt with an other <a element. Delete that entire sections since you have it twice. You will see one Photo disappearing. Try to submit your code
If that is not working, maybe @Joseph1205 can help you out with some browser setting tipps. Sounds like the problem could be there.
One thing I noticed that I haven’t seen anyone else mention is that you had a typo: herf instead of href – this definitely would keep your code from passing even if everything else was correct. (It’s always the first thing I check when images are being ornery!)