I'm stuck. I cannot move further

I’m stuck.Unable to cmplt challenge.

Your code so far


<h2>CatPhotoApp</h2>
<main>
<img src=https://bit.ly/fcc-relaxing-cat alt=cat relaxing on bed>
<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; CPH1861) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.117 Mobile Safari/537.36.

Challenge: Add Images to Your Website

Link to the challenge:

Your alt text should be in quotes like:

alt='cat relaxing on bed'

Yes, it should be in quotes but these (’ ') quotes are wrong for html and css.
you should most likely use the (" ") quotes.

alt = “cat relaxing on bed”

Hope it helps… :upside_down_face: :grin:

What makes it wrong? Even the Standard Generalized Markup language specifies it as valid in the statement below:

By default, SGML requires that all attribute values be delimited using either double quotation marks (ASCII decimal 34) or single quotation marks (ASCII decimal 39)

Read more here. I do know that using double quote has advantages over using single quote but does that make using single quotes wrong?

1 Like

the values of src attribut and alt attribut must be between quotes " " or ’ ’

Can someone please help me with inserting the image because none of the suggestions above are working.

cat relaxing on bed

The quotes should be used for src and alt attributes.

src=“https://bit.ly/fcc-relaxing-cat
alt=“cat relaxing on bed”

If you have a question about a specific challenge as it relates to your written code for that challenge, just click the Ask for Help button located on the challenge. It will create a new topic with all code you have written and include a link to the challenge also. You will still be able to ask any questions in the post before submitting it to the forum.

Thank you.

This doesn’t work for me.

Hey man,
Here you should use ( “” ) for inserting an Image.

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

This would work for you.

I think it should be relaxing cat. All I mean is try using the exact anchor text they gave you