how to create a datalist with predefined option red? | SoloLearn: Learn to code for FREE!

+4

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

1/23/2018 9:07:03 AM

Lucille Reyes

2 Answers

New Answer

+4

check ur corrections you'll see em

+4

<input type="text" list="colors"/> <datalist id="colors">   <option value="red"> </datalist>