A dynamic Book Library website that fetches and displays book data from FreeAPI.app. This project helps practice working with API requests, handling JSON data, and rendering dynamic content using JavaScript.
Create a book library website that allows users to view, search, sort book data fetched from FreeAPI.app.
- HTML
- CSS
- JavaScript
- Fetch & Display Books: Retrieves book data dynamically from the API and displays it in a list/grid view.
- View Toggle: Allows users to switch between list and grid views.
- Book Details: Displays title, author, publisher, published date, and thumbnail.
- Search Functionality: Filter books by title or author.
- Sorting:
- Sort by title in alphabetical order.
- Sort by published date.
- Book Details in New Tab:
- Clicking on a book item opens more details in a new tab using the
infoLink.
- Clicking on a book item opens more details in a new tab using the
- Open the website.
- The page will automatically fetch and display books.
- Use the toggle button to switch between list and grid views.
- Use the search bar to filter books by title or author.
- Click on a book to open detailed information in a new tab.
- Clone this repository:
git clone https://github.com/RenilGarala/Book-Library.git