Auto-complete like a boss!
You may see
$ and think that jQuery is a dependency, but I can assure you that all DOM operations are native:
const $ = document.querySelectorAll.bind(document);
I decided to use
DocumentFragment objects to attach raw elements to the DOM. With such a small amount of data here, it is not necessary, but depending on how big your data set is, it could be crucial later.