Tell us what’s happening:
Basically I have run into a issue. I am trying to get " Basic HTML and HTML5: Add Images to Your Website" done and the part i am stuck at is basically trying to figure out is how im missing the “src” element. I do not understand how i have done it wrong. I have looked online for additional info that could shed some light on what i did wrong.
Your page should have an image element.
Your image should have a src
attribute that points to the kitten image.
Passed
Your image element’s alt
attribute should not be empty.
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/87.0.4280.88 Safari/537.36
.
Challenge: Add Images to Your Website
Link to the challenge: