New to coding how do you add a src element

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

  **Your code so far**


<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>
<img src="" alt= test output">"
  **Your browser information:**

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.0 Safari/605.1.15

Challenge: Add Images to Your Website

Link to the challenge:

Hi @owenrohrer21 !

Welcome to the forum!

You are using the wrong url here.

reread the directions again

Now set the src attribute so that it points to the url

Hi @owenrohrer21,

  1. Follow the instructions, the img tag goes under the main tag as the first element and not as last as you did.
  2. The link in img tag is wrong, set src to this link:
  3. Pay attention to the quotes, they go around the text in src and alt attribute and not outsite the closing tag of img as you did.
    <img src="" alt= test output">" ← This is wrong.
    <img src="link" alt="some text"> ← This is the right syntax.


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