Awesome books is a single-page-application that shows a library of books that will be stored in the computer's local storage. The user can freely add and remove books. Built with HTML / CSS / JavaScript
I would recommend dismantling the removeBook and displayBooks functions in a way that they only handle data from its objects, for example:
The removeBook function filters the book array but it also saves the array in the local storage and displays the books. I would recommend putting the last 2 operations outside of the removeBook function.
I would recommend dismantling the
removeBook
anddisplayBooks
functions in a way that they only handle data from its objects, for example:removeBook
function filters the book array but it also saves the array in the local storage and displays the books. I would recommend putting the last 2 operations outside of theremoveBook
function.