Why is it wrong

I cannot figure out what is wrong with the “src” codeing

  <h2>CatPhotoApp</h2>
A buisiness cat wearing a necktie.

Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.

Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.


<h2>CatPhotoApp</h2>
<main>
<img src="https://www.freecatphotoapp.com/your-image.jpg" alt="A buisiness 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:**= google

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36

Challenge: Add Images to Your Website

Link to the challenge:

Hello there @presto265, welcome to the FCC community.

This :point_up_2: was just a sample to show you what the <img> tag should look like. The src=" " should contain a reference to the image in form of a link which was provided in the challenge.

Let’s try to add an image to our website:

Within the existing main element, insert an img element before the existing p elements.

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

Finally, don’t forget to give your img element an alt attribute with applicable text.

If you look closely you were given a url which you would copy and paste in the src tag of the img tag you will be creating.

In the img tag you have about, replace the url and provide a reasonable alt (alternative text) of your choice.

I hope this helps. Happy coding :+1:!

2 Likes

como configuraste esa url?

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