Stuck here on the topic of src: Please help

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

  **Your code so far**

<h2>CatPhotoApp</h2>
<main>

<img src="https://www.freecatphotoapp.com/your-image.jpg" alt="fcc-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 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.82 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 is a sample image

You need to use the requested image:

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

I tried using both the code that was suggested in the tutorial and still get an error stating that ‘Your image should have a src attribute that points to the kitten image’.

What does your code with the correct url look like?

This is the url that I have typed right below


<img src=" https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="fcc-relaxing-cat">

is it correct or should I make any changes?

You have an extra space at the beginning of your url.

1 Like

That worked. Damn, will keep that in mind next time I work on something. Thanks alot.

1 Like

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