What is missing here please, i cant seem to figure it out

Tell us what’s happening:

Your code so far


<h2>CatPhotoApp</h2>
<main>
<img 
src="https://bit.ly/fcc-relaxing-cat."
image.jpg" alt"= A beautiful cat resting on the floor.">

<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 9; TECNO KC8) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.116 Mobile Safari/537.36.

Challenge: Add Images to Your Website

Link to the challenge:

Hi @09023220809!

You have a few syntax errors that are preventing you from passing the test.

There is no period in this url

This is not valid html and should be deleted

These quotes are in the wrong place.

Hope that helps!

1 Like

I appreciate that, let me get back to it. Thank you

Tell us what’s happening:

Your code so far


<h2>CatPhotoApp</h2>
<main>
<img 
src="https://bit.ly/fcc-relaxing-cat image.jpg" alt="A beautiful cat resting on the floor.">
<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 9; TECNO KC8) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.116 Mobile Safari/537.36.

Challenge: Add Images to Your Website

Link to the challenge:

You have to follow the instructions exactly. The tests are very sensitive to even the most minor change.

The instructions say:

Now set the src attribute so that it points to this url:

https://bit.ly/fcc-relaxing-cat

Now look at what you have src set to. Do you see the difference?

what about the src??

sorry, please, I still don’t get my error?

This is your current src attribute:

src="https://bit.ly/fcc-relaxing-cat image.jpg"

This is the instructions:

Now set the src attribute so that it points to this url:

https://bit.ly/fcc-relaxing-cat

Do you see that the URL you currently have is not quite the same as the URL you are supposed to be setting it to?

still not working, pheew

"https://bit.ly/fcc-relaxing-cat image.jpg" does not equal "https://bit.ly/fcc-relaxing-cat"

In other words, those are not the same strings. The latter is what you are supposed to set the src attribute to.

Thanks alot. I am grateful to you