A simple, modern book library web application where you can add, filter, and list your favorite books. This application is built using HTML, CSS, and JavaScript, and it saves your books to the browser's localStorage.
- Add New Books: Add books with title, author, year, and category.
- Filter Books: Filter books by year and category.
- Responsive Design: The application is fully responsive and works on all device sizes.
- Modern UI/UX: A clean and modern user interface.
To run this project, you only need a modern web browser.
-
Clone the repository:
git clone https://github.com/yourusername/book-library.git
-
Navigate to the project directory:
cd book-library
-
Open
index.html
in your web browser:open index.html
or simply double-click the
index.html
file.
book-library/ │ ├── public/ │ ├── style.css # CSS styles │ └── script.js # JavaScript logic │ ├── index.html # Main HTML file └── README.md # This README file
- Fill in the book details (title, author, year, category) in the form under "Add a New Book".
- Click the "Add Book" button.
- The book will appear in the book list below.
- Use the "Filter by Year" input and "Filter by Category" dropdown to filter books.
- Click the "Apply Filters" button to filter the book list.
- Click the "Clear Filters" button to reset the filters and show all books.
- HTML: Structure of the web application.
- CSS: Styling for the web application, including responsiveness.
- JavaScript: Logic for adding, filtering, and displaying books. Uses localStorage for persistent data storage.
Contributions are welcome! Please fork this repository and submit a pull request for any features, improvements, or bug fixes.
- Fork the repository.
- Create a new branch (
git checkout -b feature/your-feature-name
). - Commit your changes (
git commit -m 'Add some feature'
). - Push to the branch (
git push origin feature/your-feature-name
). - Open a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.
If you have any questions or feedback, feel free to contact me at [mehmetkahyakas5@gmail.com].
Enjoy your book library!