How does datalist and option works?? Is this not work in @sololearn ? | Sololearn: Learn to code for FREE!

+20

How does datalist and option works?? Is this not work in @sololearn ?

I am trying hard to make a input which shows option but it's not working.

7/16/2020 12:45:11 PM

ANMOL

5 Answers

New Answer

+10

Abhay Its not working for me ! https://code.sololearn.com/W3YMucXR1ZEZ/?ref=app

+9

Abhay I saw that when I am opening it with Chrome it's working . And it's not working in sololearn

+8

Abhay this is my code it's not working why <input id="car" type="text" list="colors" /> <datalist id="colors"> <option value="Red"> <option value="Green"> <option value="Yellow"> </datalist>

+4

Can you show the code ,so we can better understand your problem and provide help

+2

ANMOL works fine for me.Can you exactly tell what you are expecting it to do ?