Add image html 5

I’m getting terribly frustrated with this as it won’t accept my alt code. I’ve followed the instructions to the letter and even tweaked it but still no joy!

Help!

Your code so far


<h2>CatPhotoApp</h2>
<main>
<img 
src=https://bit.ly/fcc-relaxing-cat alt=“fcc relaxing cat”.>
<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 (iPad; CPU OS 12_4_9 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.1.2 Mobile/15E148 Safari/604.1.

Challenge: Add Images to Your Website

Link to the challenge:

you are using tilted quotes (“”), they are not a valid character in programming, you need to use stright single or double quotes ("" or '')

Thank you! Thank you! Thank you! I hadn’t realised that you can press and hold on the iPad to get different quotation marks…!

Hi @nadine.puddoo!

Welcome to the forum!

This needs quotes too.

Hope that helps!

1 Like

Hi @ jwilkins.oboe! You’d think so, wouldn’t you but when I did put quotes there it didn’t work! However, putting quotes on the alt text allowed me to move on…! Shrug

Oh I see what you mean. I removed the quotes from the src attribute and it still passes. Maybe this bug has already been reported.

Anyhow, congrats on solving the challenge!