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/99.0.4844.74 Safari/537.36 Edg/99.0.1150.46
Challenge: Add Images to Your Website
Link to the challenge:
Welcome to the forum.
First of all, that is not the url you were asked to use. Please reread the instructions carefully. I’d start with that.
Yes, if I fix that, the code passes for me. If the cat is wearing a tie, it’s the wrong image.
can you help by giving some hit please
I did, I told you to reread the instructions carefully. Here are the instructions.
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.
Hint: It’s in the 3rd paragraph.
is there any video that help easily
Use your words. What are you not understanding? We are here to help.
Part of being a developer is reading things very closely and paying attention to small details. It’s also being able to describe problems.
The instructions tell you this:
Now set the src
attribute so that it points to the url https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg
<img src="https://www.freecatphotoapp.com/your-image.jpg" alt="A business cat wearing a necktie."/>
Do we at least agree that the src you used does not match the src you were told to use?
thank you I already fix it by following instruction