How to include src attribute

How to Include src attribute in the code? I cant get it to work.


<h2>CatPhotoApp</h2>
<main>
<img src="http://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.82 Safari/537.36

Challenge: Add Images to Your Website

Link to the challenge:

Hi @jasjasjo88,

Look well what is asked and which link you should use for the src attribute:

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

1 Like

How do I do it i try with src=β€œhttp://www.freecatphotoapp.com/your-image.jpg”

its not responding.

Hi @jasjasjo88 !

Welcome to the forum!

I would reset the lesson.

@LucLH is trying to show you that you are using the wrong url here

That was the url used for the example.
But you are not supposed to use that to pass this challenge.

You will need to use this correct url to pass the challenge.

Hope that is clearer!

2 Likes

XD , thank you guys. Helps alot.

2 Likes

You’re welcome @jasjasjo88!

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