This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<input type="text" id="searchInput" placeholder="Type your search query"> | |
<div id="searchResults"></div> | |
<script> | |
var searchInput = document.getElementById("searchInput"); | |
var searchResults = document.getElementById("searchResults"); | |
searchInput.addEventListener("keyup", function() { | |
var query = searchInput.value; |