Not sure where am I going wrong here? It says "Your image should have src attribute"

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

  **Your code so far**

<img src="" alt="A business cat wearing a necktie.">
<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/91.0.4472.106 Safari/537.36

Challenge: Add Images to Your Website

Link to the challenge:

The instructions say:

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

You have this:

<img src="" alt="A business cat wearing a necktie.">

I don’t know what the second line is doing there, but I can see that the first line (the real image) has the wrong source.

Do this:

  1. Remove that second line. (Not actually required for the test to pass, but still…
  2. Put the correct source in the first line. (You actually seem to have it in that second line, but it was just in the wrong place.)

When I fix that, the code passes for me.

1 Like

Thanks so much, Kevin! It worked. Appreciate your quick response :smiley:

1 Like

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