🔎 Easy Autocomplete / Suggestions for Inputs with just HTML5 | datalist tag
Sometimes you would like to suggest some options to a user as they type something into an input. Maybe there are popular search categories or tags that people are looking for. You could, of course, implement an API driven feature, or if you want to get a quick way for it to be up and running why not just use the datalist tag?
We all have that model in our mind that a variable is a box containing some value e.g. let a contains 10. Let me ask you a simple question. What is a variable? You might have answered that variable is a box in memory that holds some value and you have pictured something as below in your mind.