I need help to figure out where to keep the src

i have been here for like two hours and i have not completed my recent stage.


<img src="https://www.freecatphotoapp.com/your-image.jpg" alt="A business cat wearing a necktie."> https://bit.ly/fcc-relaxing-cat <scr>
src
<h2>CatPhotoApp</h2>
<main>


<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; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36.

Challenge: Add Images to Your Website

Link to the challenge:

You have a few issues:

  • You need to put the img element inside of the main element

Within the existing main element, insert an img element before the existing p elements.

  • You need to update the src and alt attributes of the example to match the requirements
<img src="https://www.freecatphotoapp.com/your-image.jpg" alt="A business cat wearing a necktie.">

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.

2 Likes

I don’t understand any of that.
I am only a child

Let’s look at the instructions one at at time.

Within the existing main element, insert an img element before the existing p elements.

Can you identify the main and p elements in the starter code:

<h2>CatPhotoApp</h2>
<main>


  <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>

If you have forgotten how to identify those elements, they are introduced in this challenge.

The instructions say that your new img element must be inside your main element, but before the p elements.