Expected duration: 1 day or less I have a basic requirement for a search.html file which is 100% javascript/html. The search.html file is a blank html page with a simple search text box in the middle (similar to google search). On load of the search.html, it would include/import a text file which contains the database of items to search. On search, the javascript will list the matches underneath the text bar on the search.html page. Like a basic google type search.
The text file will only include around 200 items in it. Imagine car parts for example...
The text structure can be any format that's easy ie. JSON, XML, whatever works. The text format needs to be easy to maintain via a text editor. I will be storing the text file on a sharepoint site where it will be "included" into the search.html via the javascript.
The format of the text file would look something like this:
Spark plugs The spark plugs required for the engine. blah blah XYZ Ltd Company https://xyzcompany.org/sparkplugs
The search result would show something like: Spark Plugs (onclick href would open the https://xyzcompany.org/sparkplugs in new browser tab) The spark plugs required for the engine. blah blah
The text file would only include around 200 items so it will be compact and easy to "include/import" into the search.html file onload.
*** this project can't use third party custom js files. it needs to sit behind a firewall and run purely from the html file so opening the text file, searching for matching keywords and returning results must all be done from within the javascript in the search.html... we can't reference/import third party .js files from the internet ***
This job needs a javascript person. I can provide the search.html but i need the javascript person to load the text file containing the database items. This is a 2 hour job for an experienced javascript person.