How do i set my image

Tell us what’s happening:

Your code so far


<h2>CatPhotoApp</h2>
<main>
img src="https://bit.1y/fcc-relaxing-cat"
alt="relaxing cat.jpg">
 <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 6.1; rv:74.0) Gecko/20100101 Firefox/74.0.

Challenge: Add Images to Your Website

Link to the challenge:

img src="https://bit.1y/fcc-relaxing-cat"
alt="relaxing cat.jpg">

You are missing part of your opening tag.

1 Like

As Ariel mentioned the “<” angle bracket is missing as well as your self-closing “/>”
so some HTML tags might look like <div>Hello World </div> however some HTML tags can be self-closing like <img /> or <br />

This is a good resource on empty tags, MDN is a great overall resource to search about Web related stuff HTML, JS, CSS, ect…