anyone can help me to implement a search field for a static website, my website doesn't have a database, it's only HTML and CSS.
I want to be able to search files with extension .html in a specific folder called post.
Inside the post folder, there are many files with extension .html
I want to search these files through input field using javascript and output the URL in a div
<div id="search">
<form name="searchForm" action="http://google.com/search">
<input name="query" type="text" value="" placeholder="search" maxlength="250" />
<input name="query" type="hidden" value="site:yoursiteurl"/>
<input id = "submitButton" name="submit" type="submit" value="Search" />
</form>
</div>