+ 5

how to create a datalist with predefined option red?

i don't know the answer haha. this was one of the questions i often encounted when i'm in a challenge

23rd Jan 2018, 9:07 AM
Lucille Reyes
Lucille Reyes - avatar
2 Answers
+ 5
check ur corrections you'll see em
23rd Jan 2018, 9:32 AM
Android Boi
Android Boi - avatar
+ 5
<input type="text" list="colors"/> <datalist id="colors">   <option value="red"> </datalist>
27th Jan 2018, 7:52 AM
Lucille Reyes
Lucille Reyes - avatar