This project is a simple Book Library App built to consolidate knowledge of CSS Grid Layout and JavaScript classes. It allows users to add books with details like title, author, shelf category, rating, and review. The app dynamically renders book cards using JavaScript and follows the MVC (Model-View-Controller) pattern for better separation of concerns.
- Add books with title, author, shelf, rating, and review.
- Dynamically render book cards using JavaScript.
- Maintain a list of books in a Model class and update the UI via event listeners.
- Utilize CSS Grid for layout and structuring the book cards.
- Manage UI interactions with JavaScript classes.
- HTML, CSS (Grid Layout) for structuring and styling the UI.
- JavaScript (ES6+ classes) for data management and UI interactions.
- Users enter book details in a form.
- The
Model
stores book data and notifies listeners when changes occur. - The
View
handles DOM manipulation and rendering of book cards. - The
Controller
manages user interactions and updates theModel
. - The UI updates dynamically when books are added.
- Implement local storage to save books persistently.
- Add a delete function for book removal.
- Improve rating display with graphical stars.
- Clone or download the repository.
- Open
index.html
in a browser. - Add books using the form and see them displayed dynamically.