Somebody pls help me

Tell us what’s happening:
Ive tried just about everything and I just don’t understand what Im doing wrong. If someone could give me the answer and an explanation that would be extremely helpful!

  **Your code so far**

<h2>CatPhotoApp</h2>
<main>

<img src=“https://bit.ly/fcc-relaxing-cat” alt=“fcc-relaxing-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 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.2 Safari/605.1.15

Challenge: Add Images to Your Website

Link to the challenge:

HI @crystaltaveras62 !

Welcome to the forum!

A few issues.

No.1:
You are using the wrong link here

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

No.2:
You need to turn off smart quotes.
programming uses straight quotes like these ""

These are the wrong types of quotes

1 Like

I tried that and it didn’t work. Thank you, I didn’t know that about the smart quotes.

This is what I have so far


h2>CatPhotoApp</h2>
<main>

<https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg alt="relaxing-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>

You have a few syntax errors here

You are missing an opening < here

This is not the correct syntax for an img element.

The url is supposed to be assigned to the src atrribute.

Here is the correct format for an img tag.

<img src="url goes here" alt="descriptive text goes here">

Hope that helps!

1 Like

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