Src attribute to adding an image to my page

Tell us what’s happening:
Describe your issue in detail here.
I am having trouble with the src aspect of this challenge. Does anyone have any ideas or suggestions on how to fix this problem?

   **Your code so far**

<h2>CatPhotoApp</h2>
<main>
<img src="http://bit.ly/fcc-relaxing-cat"
alt="a cat upside down.">
 <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 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.2 Safari/605.1.15

Challenge: Add Images to Your Website

Link to the challenge:

I don’t think that’s the url that the instructions tell you to use.

yeah its not I tried to go on the “get a hint” page and one of the other people said to try that. The picture did work but the SRC attribute still didn’t work so I decided to reset it and try again with the original url but still not working

You don’t need the “Get a Hint”. The instructions tell you what to use:

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

When I use that url, your code passes for me.

that worked! thank you!!

The challenges are constantly evolving and receiving small updates to make them more effective or to accommodate evolving browser standards. That means that existing solutions will often no longer work exactly the same. Whenever you look at a solution (via “Get a Hint” or otherwise) you want to use it as a guide for how you can solve the problem, but not copy it directly. Not only will coping the solution get in the way of your learning, it often may not even work!

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