Problem solution

Tell us what’s happening:

Whats wrong with my code src element is rightly placed it keeps on telling me that your src element is not right

Your code so far


<h2>CatPhotoApp</h2>
<main>
<img src="https://bit.ly/fcc-relaxing-cat.com"
alt="Cat relaxing."

<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 (Linux; Android 8.1.0; SM-J710GN) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.116 Mobile Safari/537.36.

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

Hii. there is two things which you need to change.
firstly, remove “.com” from the web address.
secondly, you still need to add closing bracket of your img tag.

1 Like