I can't add an image code

Tell us what’s happening:

Your code so far


<h2>CatPhotoApp</h2>
<main>
src="https://bit.ly/fcc-relaxing-cat-image.jpg"alt="A business cat wearing a necktie>


<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 10; Nokia 1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.99 Mobile Safari/537.36.

Challenge: Add Images to Your Website

Link to the challenge:

Hey @shezimvelo!

You are missing the img tag and quotes after the word necktie.

<img src="https://bit.ly/fcc-relaxing-cat" alt="cute cat">

Hope that helps!

Happy coding!

1 Like

Didn’t help at all…dnjdjndxjkxl

You will also need a space before the alt attribute and use the proper url link. If you refer to my previous answer it should work.

<img src="https://bit.ly/fcc-relaxing-cat" alt="cute cat">

Thank you so much it did work :blush:

2 Likes