I can not add an image!

Tell us what’s happening:
can someone help me out here ?

  **Your code so far**

<h2>CatPhotoApp</h2>
<main>


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

Challenge: Add Images to Your Website

Link to the challenge:

This looks like only half of the stuff from the example:

<img src="https://www.freecatphotoapp.com/your-image.jpg" alt="A business cat wearing a necktie.">

thanks mate for the reply !
I am totally new to coding and I can not get my head around it right now !
I have followed the instructions but something is not right !
so any help would be appreciated !

Did you compare the part of your code I highlighted with the part of the example I highlighted?

Your code:

<img src"=....

Example code:

<img src="...." alt="...">

Your code looks very different than the instructions. I see 4 differences!

  • You swapped the order of the " and the =
  • You don’t have a closing " for your src url
  • You don’t have an alt attribute
  • You don’t have a closing >
1 Like

@ae20132009 , don’t feel bad if you didn’t notice the differences at first. A lot of us forget that when you are first starting EVERYTHING is new, and therefore our brains haven’t created any type of context or patterns.

Learning is all about recognizing patterns, and when you have never done something before, you have no idea of what “right” is supposed to look like. But don’t worry it will come.

That being said, what @JeremyLT is trying to show you is the basis of what you will need to do to learn here. One of the most important skills you’ll need is to be able to look at two things that look very similar and find the differences. Then you can start learning what “right” looks like.

Keep up the hard work!!!

:sunglasses: :sunglasses: :sunglasses:

thanks for the advice and encouragement mate :wave:

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