Keeps saying my src isn't pointing to attribute and will not pass any help would be greatful

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

  **Your code so far**

<h2>CatPhotoApp</h2>
<main>
<img src="https://bit.ly/fcc-relaxing-cat"alt="cute 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/97.0.4692.99 Safari/537.36 Edg/97.0.1072.76

Challenge: Add Images to Your Website

Link to the challenge:

The failing test says:

Your image should have a src attribute that points to the kitten image.

The instructions say:

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

You have:

<img src="https://bit.ly/fcc-relaxing-cat"alt="cute cat">

Do you see the issue?

2 Likes

Aside from @kevinSmith’s great explained answer, this is a great time to point out the importance of the fine little details in coding.

Instructions are only going to get more and more elaborate as you progress through the curriculum, and it is crucial that you read through them fully. I would take this is as an early lesson and keep this is mind moving forward.

Keep up the learning and growing

1 Like

Yeah, I sometimes like to point out, part of being developer is being really, really good at reading directions. And sometimes those instructions can be rather confusing - in the work place.

1 Like

thanks for replay problem solved

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.


Not sure where you got this url, but its the wrong url.

from one of these forums. the original url that was meant to be used wasn’t working. after walking away restarting the pc. coming back fresh got it working thanks.

Ah. The challenges have changed over the years, so grabbing pieces of code from the forums that don’t match up with the current version of the problem statement often leads to failing tests.

1 Like

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