Ive been stuck on this for a while. how do i do it?

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

  **Your code so far**

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

<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>
  **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36

Challenge: Add Images to Your Website

Link to the challenge:

There are a couple of issues to address;
Your code;
`mg src=“https://bit.ly/fcc-relaxing-cat” alt=“fcc-relaxing-cat”


mg is not the correct way to start the img element.

The sample in the lessons shows this;
<img src="https://www.freecatphotoapp.com/your-image.jpg" alt="A business cat wearing a necktie.">
Notice the opening < and closing >

The lesson tasks you with adding the following url to the src attribute;
Make sure you use the correct one.

Lastly, the instructions say; “Within the existing main element, insert an img element before the existing p elements.”

There’s a large space after the opening main tag where you were to insert the img element.
You put the img element outside of the existing main element.

You can use the Reset All Code button to reset this lesson and start it again.
Hope that helps.

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