A simple web app that fetches and displays search results in real-time. It uses debouncing to minimize API calls and Promises to simulate a delayed API response. Includes a responsive navbar.
- Real-time Search: Updates results as you type.
- Debouncing: Triggers API calls only after 500ms of inactivity.
- Simulated API: Uses Promises with a 1-second delay for response.
- Responsive Navbar: Adapts to mobile and desktop views with a hamburger menu.
- Clone the repo:
git clone https://github.com/KMONIKA26/Real-Time-Search-with-Debouncing-and-Promises
- Open
index.html
in your browser.
index.html
: Main HTML file.script.js
: JavaScript for search functionality.README.md
: Project documentation.
- Navbar collapses into a hamburger menu on smaller screens.
- Layout adjusts for various screen sizes.
MIT License - see LICENSE for details.