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

Help??? What is wrong

  **Your code so far**

<img src="https://cdn.freecodecamp.org/cirriculum/cat-photo-app/relaxing-cat.jpg" alt="A cat in a hat.">

<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 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.110 Safari/537.36

Challenge: Add Images to Your Website

Link to the challenge:

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 didn’t do that.

When I do that, the tests pass for me.

It was actually just a typo, I did do it correctly but thanks

I think we disagree about what it means to “do it correctly”, but OK, I’m glad you figured it out.

If you care to explain I am all ears

Your url:

required url:

Your url did not exactly match the required url. Computers require exact matches. Thus, you did not ‘do it correctly’.

besides the typo…where is it incorrect?

The typo is enough to make is ‘not correct’. Computers are very stupid. They only know ‘100% correct’ and ‘not correct’.

1 Like

Yeah, I found the typo without help. Therefore I did do it correctly after making that change. Thanks

Yeah, you did it correctly after fixing how is was incorrect :laughing: I think that’s called “learning”.

No pretentiousness here. I’m just trying to make the point that computers don’t understand ‘close enough’. Like I said, computers are very stupid. A single typo is a big deal to a computer so there is only ‘100% correct’ or ‘not correct’ for computers. There is no ‘basically correct but with a typo’. But making those typos is something we all do so its important for every programmer to remember that ‘partially correct’ isn’t good enough for a computer since they are dumb, literal pieces of rock that we tricked into thinking.

I totally get that. And it honestly took me 10 mins to figure out it was just a typo. I thought I was doing it completely wrong. Just saying, would be nicer for a newbie to hear it was a typo and it happens, rather than “you did it wrong and I did it correctly”. It’s not very helpful criticism. You’re right I am “learning”, like everyone else here. I appreciate your clarification.

If you have any other suggestions for learning basics I’d also love to hear!

My purpose was not to put you down, but to point out that you did not complete the instruction correctly and to point out where the issue was. My decades of experience as an educator lead me to believe that letting the learner figure out the details is better for their learning.

The purpose of me saying “if I fix this, it works for me” was not smugness or bragging, but to make it clear that I’ve confirmed that that is the issue and that the learner is almost there, to encourage you. I know that a learner can get frustrated - if you check out my responses to a lot of these challenges, you’ll see that that is something I add to a lot of my messages.

That you found the typo yourself is wonderful. (Trust me, we’ve all been there - typos are the scourge of every coder.) But of course we have no way of knowing that. In the future, I would suggest that you answer the thread yourself, explaining how you fixed it. Not only would that stop anyone from wasting time helping you when you don’t need it, but also might help someone with the same problem.

It was no one’s intention to insult or offend you. There are a lot of professional developers on here donating their free time to help learners.


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