Question about Datalist and colours | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Question about Datalist and colours

Hi everyone, There is a question in the HTML challenges and I can't seem to find the answer in the HTML course. I can't remember the exact wording but it goes something like: "Fill in the blanks to create a datalist with predefined colour red". I never seen to be able to get the correct answer. Would someone be able to give me an example of how to do this please? Thank you very much in advance.

16th Mar 2018, 9:40 AM
Ryan
Ryan - avatar
4 Answers
+ 3
there's websites that shows colors degrees and names to use it in your codes, just Google it. hope u the best 🌷
17th Mar 2018, 3:56 AM
@mix_tory
@mix_tory - avatar
+ 2
Thanks for replying
17th Mar 2018, 3:23 PM
Ryan
Ryan - avatar
+ 2
Anytime, my brother ❤❤ never stop coding 🌷
17th Mar 2018, 3:25 PM
@mix_tory
@mix_tory - avatar
0
i also don‘t get it right. That‘s the question: Fill in the blanks to create a datalist with predefined option red. <input type="text"> list="colours"/> <____ id="colours"> <option _____="red"> </___>
23rd Dec 2019, 10:40 AM
Christoph Karl Eidler
Christoph Karl Eidler - avatar