I need help with putting images to my website

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

  **Your code so far**


<img src=''https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg'' alt=''á ¶éłá»ínŋ çáŧ''>

<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 (X11; CrOS x86_64 14469.59.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.94 Safari/537.36

Challenge: Add Images to Your Website

Link to the challenge:

Hi @rhea.mendonca.77,

The issue is related to how you use your simple quotes. If you want to use them, put only one each time:

<p class='my_class'>My text</p>

The second possibility is to use the double quotes:

<p class="my_class">My text</p>

My issue is I have attached the picture.
Screenshot 2022-04-02 04.51.54

Yes, and I explained you why it doesn’t pass. I used examples with p tags and class attributes to show you the good way to use the simple quotes or the double quotes. It is the same with img tags:

<!-- Good quote syntaxes -->

<img src="my_source" alt="my_text">
<!-- OR -->
<img src='my_source' alt='my_text'>

<!-- In your code, you use each time two simple quotes together, which is not a good syntax -->
<img src=''my_image'' alt=''my_text''>

Do you understand your issue now? Tell me if it is still not clear :slight_smile:

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

Its still gives me an error. how do you use alt

When I used your updated code, you are still using a type of single quotes, togther:

<!-- They are still simple quotes -->
<img src=’‘https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg’’ alt=’‘a relaxing cat’’>

On QWERTY keyboard, the key for quotes is:

Thank you so much. I got it.

God Bless :grinning:

Glad that you figured it out @rhea.mendonca.77, have a nice day :slight_smile:

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