Tell us what’s happening:
im stucked i try all i can but still not working please i need help
Your code so far
<h2>CatPhotoApp</h2>
<main>
<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>
<img src="https://www.pixabay.com/leopard-515509_640.jpg"
Alt="leopard lying on a tree">
Your browser information:
User Agent is: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/71.0.3578.141 Safari/534.24 XiaoMi/MiuiBrowser/11.3.4-g
.
Challenge: Add Images to Your Website
Link to the challenge:
https://www.freecodecamp.org/learn/responsive-web-design/basic-html-and-html5/add-images-to-your-website
please i need help can some one help me p
Hii. Add the url which is given in the question
may i know what im doing wrong?
The url is given in the question. Just add that instead of your url
ok will try and see if it will work out thanks
Everything else will be as it is. Just change inside the img url like this if u r still stuck. Don’t forget to put the bracket. I didn’t put it because i find it difficult on my phone.
… img src=“https://bit.ly/fcc-relaxing-cat” alt=“cat”…
i did that but still not working
So I attempted the challenge and I had two mistakes on my first try due to carelessness. You might have similar ones:
- Was the
<img>
after the <main>
- Does your
src
url have quotes ""
around it.
1 Like
Add after main tag not closing main tag
yes please is after the main and also the “” is there
Also, your alt
tag is Alt
. The is capitalized. You might want to uncapitalized it.
*Sorry for bad grammar/spelling
Check your capitalization of the alt
. Should be alt="Your alt here"
Bring the <img>
tag above the tag.
<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>
<img src="https://www.pixabay.com/leopard-515509_640.jpg"
alt="leopard lying on a tree">
</main>
1 Like
<h2>CatPhotoApp</h2>
<main>
<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>
<img src="http://tineye.com/images/widgets/mona.jpg" alt="Trulli" width="500" height="333">
Take the image tag right below the main tag.