Adding image to page

Tell us what’s happening:

Everything seems to be put in correctly for adding an image to the page. Run the test and it say arc need to point to image

Your code so far


<img src="https://bit.ly/fcc-relaxing -cat" alt="Relaxing cat"./>
<h2>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; SM-T713) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.111 Safari/537.36.

Challenge: Add Images to Your Website

Link to the challenge:

1 Like

Hi @Twin,
It looks like you have a couple typos in your < img > tag

<img src=“https://bit.ly/fcc-relaxing -cat” alt=“Relaxing cat”./>

It looks like there is a space in the src attribute, after relaxing. There is also a . right before the closing /

Try this and see if it helps:

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

Good luck & happy coding!

2 Likes