Challenge Help page

Tell us what’s happening:
I still do not get how to Add image to my website

Your code so far


<h2>CatPhotoApp</h2>
<main>
<p>children</p>
<p>children</p>

<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>
<p>
<img src=“https://www.freecatphotoapp.com/yourimage.jpg"alt=“A home kitten with a bowl of milk">
</p>

Your browser information:

User Agent is: Mozilla/5.0 (Linux; Android 9; TECNO CC7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.75 Mobile Safari/537.36.

Challenge: Add Images to Your Website

Link to the challenge:

1 Like

Hi @Oluwadamilola!

The first thing I would do is to reset the challenge because you have added some extra paragraphs that don’t need to be there.

Second thing is, you need to make sure that you should use the correct type of quotes. The quotes should look like this “”.

@Oluwadamilola You are doing it right. Just not right for the challenge. In the instructions it says -

  • Now set the src attribute so that it points to this URL: https://bit.ly/fcc-relaxing-cat
  • Finally, don’t forget to give your img element an alt attribute with applicable text.
  • Within the existing main element, insert an img element before the existing p elements.

You need to put that image right at the top of main before all of your <p> tags. You also need to use the right link and then give it an alt your alt can be anything that apply to the img. Hope this helps. Happy Coding! :smile:

1 Like