I dont knwo how to add the Img src

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

  **Your code so far**

<img src="https://cdn.freecodecamp.org/curriculum/cat photo app.relaxing cat.jpg" 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>
  **Your browser information:**

User Agent is: Mozilla/5.0 (Linux; Android 11; SM-A125F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.88 Mobile Safari/537.36

Challenge: Add Images to Your Website

Link to the challenge:

Hello there.

Do you have a question?

If so, please edit your post to include it in the Tell us what’s happening section.

Learning to describe problems is hard, but it is an important part of learning how to code.

Also, the more information you give us, the more likely we are to be able to help.

This isn’t the required url

Now set the src attribute so that it points to the url https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg

Go ahead and manually cut and paste the URL in:

This can save time and prevent errors.

Your code and the freeCodeCamp Code : Do you notice what is missing…

https://cdn.freecodecamp.org/curriculum/cat photo app.relaxing cat.jpg

Hyphens are used to separate words in URLS, because there can be no spaces:

cat photo app.relaxing cat.jpg

has to be notated as:


If you HAVE Cut and Pasted this, there may be a problem with the way your system handles the CUT & PASTE.

1 Like

Thank you it worked. I’ll definitely use copy and paste in future.

1 Like

Of course, you can type it in if you want, but then review the URLS carefully when the tutorial Shows an ERROR.

1 Like

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