Shripal Soni Profile picture
• Freelance web developer with 14+ years of experience • Sharing practical web dev tips regularly • Get 250+ well-illustrated frontend tips at https://t.co/BbReLJz4eO

Oct 17, 2022, 11 tweets

HTML Tip 💡

Improve UX for input controls using <datalist> element ✨

A thread 🧵 ↓

What is <datalist> element and how to use it?

We can provide label for each option of datalist to provide extra information.

Enhance UX of range input using datalist.

Enhance UX of color input using datalist.

Enhance UX of date input using datalist.

Enhance UX of time input using datalist.

Enhance UX of datetime input using datalist.

Limitations of datalist.

You can play with all the above-mentioned code and see the output at this playground:

codewithshripal.com/playground/htm…

Thanks for checking this out.

Follow @codewithshripal for getting daily tips/threads on web development.

Retweet/like the first tweet of the thread to help spread the word.

Share this Scrolly Tale with your friends.

A Scrolly Tale is a new way to read Twitter threads with a more visually immersive experience.
Discover more beautiful Scrolly Tales like this.

Keep scrolling