I Need help with this, I love coding so I don't want to be discouraged

Tell us what’s happening:

Your code so far


<h2>CatPhotoApp</h2>
<main>
<img scr="http://bit.ly/fcc-relaxing-cat"alt"fcc-relaxing.cat"
<p>Kitty ipsum dolat 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; Infinix X606C) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Mobile Safari/537.36.

Challenge: Add Images to Your Website

Link to the challenge:

Your alt attribute is missing the = to set its value.

2 Likes

As nhcarrigan said your “alt” attribute missed “=” to set its value. Beside that you forgot to close your “img” tag.

To sum up your code need to look like this:

<h2>CatPhotoApp</h2>
 <main>
 <img scr="http://bit.ly/fcc-relaxing-cat" alt="fcc-relaxing.cat">
<p>Kitty ipsum dolat 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 code has been blurred out to avoid spoiling a full working solution for other campers who may not yet want to see a complete solution. In the future, if you post a full passing solution to a challenge and have questions about it, please surround it with [spoiler] and [/spoiler] tags on the line above and below your solution code.

That, and your code is slightly miss-leading.

Thank you.