It loads a file on load using AJAX, then as the user types into a text input, it searches the text file for the first word that starts with what the user is typing.
For example, if you started typing 'ele', it might find 'electricity' or 'elephant'.
I am planning to make this project reorder the list as people type what they ACTUALLY wanted and also take context into account.
An example of context would be:
In India and Africa, there are many ele_.
Instead of selecting electricity, it would suggest elephants instead.
If you wanna have a chat about this, contact me on Discord (@MrJeeves#6969). I'm also on the repl.it Discord too, as 'davwheat': https://repl.it/discord