Add Images to Your Website, please help T__T

Tell us what’s happening:

Cannot pass the level as it said “Your image should have a src attribute that points to the kitten image.”

Your code so far


<h2>CatPhotoApp</h2>
<main>
  
<img src="https://bit.ly/fcc-relaxing-cat"alt="no image found">  
  <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; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.102 Safari/537.36.

Link to the challenge:

Hi there @ylfung.

While your answer is indeed correct regarding the image element, there are some other requirements you may have missed while reading through the task. Specifically the area bellow…

Make sure you read through this section carefully to pick up on what you missed! If you are still stuck after this, feel free to @ me and I will help you further!

Thanks your reply. I am afraid I could not pass due to " Your image should have a src attribute that points to the kitten image"

@ylfung Hello again.

I hope this acts as a reminder to take the time to concentrate and read through all the content carefully and not deter you from continuing to learn!

answer
Follow through with the above instructions and you should pass!

Everyone makes mistakes, but what matters is learning from them, hopefully this will pass the task as well as help your problem solving with future errors!

Thanks your reply again.

Actually, I followed the instructions (Insert an img tag before the h2 element), what I showed you in the picture is I tried to place the img content to different placed see if I can get through, but as what you see, I still cannot get through.

i am glad for your help. I did what I can but still can’t get through. I searched in this forum that many cases are just like me (Cannot get through this level due to unknown reason). Knowing that learning is a process, not only asking, judging but listening.

Thanks.

@ylfung Try to put a space before the alt attribute! maybe this is the problem!

1 Like

@ylfung
The code you screenshot passes fine for me. I would suggest

One - Resetting the code and trying again
Two - Clearing your browser cache
Three - Open the task in a different browser

Let me know how you go!

bro please tell me what i’m doing
https://learn.freecodecamp.org/responsive-web-design/basic-css/improve-compatibility-with-browser-fallbacks/

@Hassan786

I recommend you create a new thread with the relevant information on the challenge, as well as what exactly you are struggling with.

I say this because you will get more appropriate responses in your own individual thread, and the responses can be catered towards helping you understand as oppose to providing the answer.

Feel free to @ me in your thread!

@ylfung j’aurai dis pareil!!! juste mettre un espace entre la fin de votre lien et le alt et cela devrai marcher comme ceci:
<img src=“https://bit.ly/fcc-relaxing-cat” alt=“no image found”>