▼ Type “Lon” into the box and the browser pops up matching suggestions — all handled natively by <datalist>, not a single line of JavaScript.
<datalist>