Including src attributes

Tell us what’s happening:
Describe your issue in detail here.
Hi all , day one at coding , i cant quite seem to placing src attributes need some help . Thanks

  **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/99.0.4844.74 Safari/537.36

Challenge: Add Images to Your Website

Link to the challenge:

HI @kengere !

Welcome to the forum!

You have a few syntax issues, plus you are using the wrong url here.

I would reset the lesson.

Here is the correct structure for an image tag.

<img src="url goes here" alt="descriptive text goes here">

Make sure to follow that structure.
Also here is the correct url from the directions.
Now set the src attribute so that it points to the url

Hope that helps!

Hi , how do I set src attribution

(As Jessica Said, the lesson should probably be reset)

In the tutorial, we are asked to:

FIRST: Insert an <img> element, within the existing <main> element, before the existing <p> elements.

Screenshot 2022-03-20 4.35.19 PM

SECOND: Set the src (SOURCE) attribute so that it points to the url:



We input the image address as a “SOURCE ATTRIBUTE”.

THIRD: Give your <img> element an alt attribute with applicable text.
The tutorial asks that we write our own text in the alt="ALTERNATE TEXT "

1 Like

were you able to solve it or did you still need help?

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