Tell us what’s happening:
Please someone should provide me answer to this piece of shit ‘‘Your image should have a src attribute that points to the kitten image’’ ?. i have spent have spent 6hours on this challenge . draining all my energy.
Your code so far
<h2> <img
src='https://www.bit.ly/fcc-relaxing-cat.'alt="kitten image.">
CatPhotoApp</h2>
<main>
<p>Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.</p>
<p>Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.</p>
</main>
Your browser information:
User Agent is: Mozilla/5.0 (Linux; Android 7.0; S8_Pro) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Mobile Safari/537.36.
You have probably already tried this one, but I was noticing a missing file extension to the browser image src. I would also put a space after the single quotes for the source, but that is just me. Also, does it ask for the image size? Any who. I could be way off from what you are attempting to perform. If so, I apologize. I have been coding for just 5 years in my spare time, but I am new to this forum…
Your img tag is inside of the h2, it should probably be outside the h2, seems weird to put an img inside a h2, but thats not whats making the test fail.
You’ve added an ‘www.’ and a ‘.’ to the url. https://www.bit.ly/fcc-relaxing-cat. should be https://bit.ly/fcc-relaxing-cat Once you fix this up it should pass.
Are you sure? I copy and pasted exactly what you have, the only change I needed to make for it to pass was fixing the link. Can you show the new code you tried?