Your image should have a src attribute that points to the kitten image how do I do this

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

  **Your code so far**

<imgsrc="https//bit.ly/fcc-relaxing-cat src"alt="relaxing cat"/>

<h2>catphotoapp</h2>
<main>
<img src="https://bit.ly/fcc-relaxing -cat src". alt="-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>
</main>

  **Your browser information:**

User Agent is: Mozilla/5.0 (Linux; Android 8.1.0; DUB-LX1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.157 Mobile Safari/537.36.

Challenge: Add Images to Your Website

Link to the challenge:

Slight typo in the src
URL, check the challenge panel and try again. Also, please delete the img element on top. You only need one img element

Hey @Lorna1 , welcome!
In your <img></img> tags you have the src="" attribute.
In between the quotation marks you must put the source (link) of the image. This needs to be exact!
Currently there’s two issues with your src attribute:

  1. You have an extra space (whitespace) character. Try to copy the link from the challenge description and paste it in between the quotation marks in the src attribute.
  2. You have added “src” at the end of the same attribute. You should only have the link itself inside the source attribute.

Hope that clarifies it a bit :slight_smile:

3 Likes

Leave space between img and src tag

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