mehmetkahya0 / book-library

Personal Book Library

Home Page:https://mehmetkahya0.github.io/book-library/

Repository from Github https://github.commehmetkahya0/book-libraryRepository from Github https://github.commehmetkahya0/book-library

Book Library

book-lib

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.

Features

  • 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.

Getting Started

Prerequisites

To run this project, you only need a modern web browser.

Installation

  1. Clone the repository:

    git clone https://github.com/yourusername/book-library.git
  2. Navigate to the project directory:

    cd book-library
  3. Open index.html in your web browser:

    open index.html

    or simply double-click the index.html file.

Project Structure

book-library/ │ ├── public/ │ ├── style.css # CSS styles │ └── script.js # JavaScript logic │ ├── index.html # Main HTML file └── README.md # This README file

Usage

Adding a Book

  1. Fill in the book details (title, author, year, category) in the form under "Add a New Book".
  2. Click the "Add Book" button.
  3. The book will appear in the book list below.

Filtering Books

  1. Use the "Filter by Year" input and "Filter by Category" dropdown to filter books.
  2. Click the "Apply Filters" button to filter the book list.
  3. Click the "Clear Filters" button to reset the filters and show all books.

Technologies Used

  • 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.

Contributing

Contributions are welcome! Please fork this repository and submit a pull request for any features, improvements, or bug fixes.

  1. Fork the repository.
  2. Create a new branch (git checkout -b feature/your-feature-name).
  3. Commit your changes (git commit -m 'Add some feature').
  4. Push to the branch (git push origin feature/your-feature-name).
  5. Open a pull request.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Contact

If you have any questions or feedback, feel free to contact me at [mehmetkahyakas5@gmail.com].


Enjoy your book library!

About

Personal Book Library

https://mehmetkahya0.github.io/book-library/


Languages

Language:HTML 39.3%Language:CSS 35.8%Language:JavaScript 24.9%