Tell us what’s happening:
Describe your issue in detail here.
All image elements should have an attribute.
How do i add an attribute with this text, " A cute orange cat its lying on its back" inside my image elements?
Thank you.
**Your code so far**
<html>
<body>
<h1>CatPhotoApp</h1>
<main>
<h2>Cat Photos</h2>
<!-- TODO: Add link to cat photos -->
<p>Click here to view more cat photos.</p>
<img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg">
<img
src="cat.jpg" alt="A cute orange cat lying on its back">
</main>
</body>
</html>
**Your browser information:**
User Agent is: Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36
It appears you went ahead to create your own img tag ,the alt and its value should be added to the img tag provided for you. This challenge doesn’t require you creating your own image tag.
The only requirement for this challenge is for img tag to carry an alt which is the text displayed when your image fails to load. So you should have only a single img tag on your editor which should look something like this:
<img src = "the image link" alt = "the attribute text" >