How to fix src attribute?

How to fix src attribute?
0

Tell us what’s happening:
It’s said Your image should have a src attribute that points to the kitten image.
I tried to fix but still not correct .

Thanks

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 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36.

Challenge: Add Images to Your Website

Link to the challenge:
https://www.freecodecamp.org/learn/responsive-web-design/basic-html-and-html5/add-images-to-your-website

1 Like

Hello and welcome to the forum. :slight_smile:

I have tested it out your code and managed to solved it there. In the src attribute, there is a space just after the word cat and before the closing quote. Fix this and it should then be working.

Hope this helps :slight_smile:

1 Like

Yeahh
It’s work now, Thank you so much.

2 Likes

I am glad to hear this and you are welcome. :slight_smile:

1 Like