A simple and responsive web application to search for books by title using the Open Library API. Displays book title, author(s), first published year, and cover image.
- Search books by title.
- Display top 10 results.
- Show book cover images if available.
- Graceful fallback for missing author, year, or cover.
- Fully responsive and simple UI.
- No external dependencies; works in any modern browser.
π»Book Search Demo
- Clone the repository: git clone https://github.com/mhkn-2007/Book-Search.git
- Navigate to the project folder: cd book-search
- Open
index.htmlin your browser:
- Double-click the file
- Or right-click β Open with β Browser
book-search/ ββ index.html # Main HTML file
Optionally, you can add
css/orjs/folders for larger projects.
- HTML5
- CSS3
- Vanilla JavaScript (ES6)
- Open Library API
- Trigger search on Enter key press.
- Add a loading spinner while fetching results.
- Display more detailed book information (subjects, page count, etc.).
- Enhance mobile responsiveness.
- Convert to a framework like React for better state management.
Open source and free to use.