How Do I Make the Image Link Be Direct?

Tell us what’s happening:

  **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 (X11; CrOS x86_64 13597.94.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.186 Safari/537.36.

Challenge: Add Images to Your Website

Link to the challenge:

How do I make the img part directly to the link?

I don’t understand the phrasing of your questions, but looking at your code…

There are two problems with this line:

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

First of all, the src url needs to be in quotes, just like the alt text is.

Second, that is not the url it is supposed to be. The instructions say:

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

When I fix those two things, the code passes for me.


Hello and welcome.
What do you mean by the title?
Your code doesn’t pass the challenge because there are some issues in it.
First, you need to wrap src links between quotation. example: src=""
Then you need to use the url that is given in the challenge which is this:

1 Like