I'm interested in creating a customized search box for multiple GET queries using jQuery, JS, HTML and CSS. The user would first type something to prompt the red box to appear (key) and it would autofill with a default option based on what they typed. Then, upon pressing enter or tab, they could fill in the answer grey box (value), and choose to submit or input another key/value pair.
Is there a jQuery library that already has this feature, or would I need to implement it myself? One idea I had was to use input boxes inside the search box and hide/show them with jQuery based on user input, but I'm open to other suggestions.
I'm looking to achieve this without relying on frameworks like Angular or React.
Any guidance would be appreciated!