A book-tracking web-application where users can save and log books. Built on HTML5, CSS, and vanilla JavaScript, with a utilization of the Web Storage API's localStorage mechanism.
Before we construct Bookly's cloud storing features, we must create a skeleton for it's back-end to utilize. In doing so, we'll be creating the following:
library array, of which will hold user's Book objects.
Book object to represent each book that a user can store in their library. Has the following attributes:
Required
Title
Author
Read (Boolean)
Optional
Link to Cover Photo
Pages
Publisher
Publication Year
ISBN
Language
addBook() function that adds Book objects to library array.
displayBooks() function that displays all Book objects in library array on web page.
After doing such, we'll need to make an MVP front-end. Make it such that all books currently in initialized Library object are displayed.
As of current, when app is reloaded, all books added by user disappears for the user interface. To fix this, we'll implement the usage of the localStorage API. Such allows users to store the books they've saved locally.
Create features allowing users to add and remove books from their library using the web page's user interface. Such need not be styled, just functional.
Add a "New Book" button.
Brings up a form where users fill out details of the Book object they'd like to add to their library.
Form will follow attributes in constructor of Book class. Required attributes will be required on the form. Others will be optional.
Add a "Remove" button on each Book object's display. Such will remove Bookobject from library array.
Add a "Read" button to each Book object's display. Toggling such will change the read attribute of the Book object.