Got stuck on this page please help what m i doing wrong? completely new to coding

Tell us what’s happening:
Describe your issue in detail here.

Your code so far


<h2>CatPhotoApp</h2>
<main>
<img src="https://pixabay.com/photos/cat-young-animal-kitten-gray-cat-2083492/" alt= Cat Young Animal Kitten Gray Cat Gray Kitten">
<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 cratched 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/98.0.4758.82 Safari/537.36

Challenge: Add Images to Your Website

Link to the challenge:

Check the alt attribute in your

Tell us what’s happening:
Describe your issue in detail here.

Your code so far


<h2>CatPhotoApp</h2 >
<main>
<img src="https://images.all-free-download.com/images/graphicwebp/cat_in_the_city_208264.webp" alt="Cat in the city" width=200 height=300>
<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 cratched 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/98.0.4758.82 Safari/537.36

Challenge: Add Images to Your Website

Link to the challenge:

New also so could be wrong but only thing bugging my ocd is that space see if making it will fix sorry if it doesnt

Hi @Tejind2005 !

I would go ahead and reset the lesson.
You don’t need to add a width and height to the img element.

You also need to use the exact url they tell you to.
Here are the directions again for the correct url

Now set the src attribute so that it points to the url https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg

No mate nothing happens with spaces removal…thanks anyways

Thank you so much got it done with your help. Thanks

all you have to do is add the double paranthesis in alt you should pass then

Thanks it’s all done.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.