How can i have a src attribute that point out to the cat image

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

  **Your code so far**

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

<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/98.0.4758.102 Safari/537.36

Challenge: Add Images to Your Website

Link to the challenge:

if you take a closer look at the tests in the bottom left corner if the screen, you will see your picture is a little different than what the tests are asking for.

Now you have to change the src attribute of the image to this value
https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg

What does that mean?

When they talk about “src” attribute they are talking about this part of the image element, where it says src:

<img src <---

To change its value, simply edit what’s coming after the equal character “=”

<img src="some src value"
<img src="another src value"

Now you have to do it, but with your example, and change it to

https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg
1 Like

nice explanation tomas :+1:

1 Like