How to add 'alt'?

Tell us what’s happening:

Your code so far

<img src="">
<alt> </alt>
  <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>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36.

Link to the challenge:

I think you want to figure out how alt works? The instructions give you an example of how to add alternative text to an img element.

1 Like

I was not able to use ‘alt’ function but now I got it. Thank you for replying.

1 Like

‘Alt’ isn’t a function. It’s an HTML attribute.

1 Like

Sorry. Today is my first day and no CS background so understanding it is bit difficult. I will remember it that its an attribute. Thank you.

1 Like

No problem. Just want you to be aware because it may confuse you later down the line. Welcome coding and good luck on the challenges!

1 Like

Yeah you are right. I hope the journey will be exciting.

1 Like

I’m sure you will have an exciting time. Just remember to read-search-ask.

Can you please tell me more about it? any link to read?

About attributes? I don’t have any specific link. If you are wondering about how some function works, you can read documentation by googling "MDN " + the thing you’re looking up. MDN web docs provide the how to.

For now, just read through the instructions. If you are still confused, you can look through the documentation. And if still confused, ask on this forum or google search some more.

1 Like

Not about attribute, i was asking about read-search-ask

here you go

Thank you so much. I will use it from next time.

1 Like

happy coding , kill your time with coding

1 Like