algerina / Awesome-books

This project consists of building a basic website that allows users to add/remove books from a list. It was created using HTML, CSS and Javascript.
https://amelbooks.netlify.app/
MIT License
15 stars 0 forks source link

Booklist #1

Closed algerina closed 3 years ago

algerina commented 3 years ago

In this PR, we created a simple Booklist using Html and Javascript, This Booklist is supposed to do the following :

Creating a collection that keeps a list of books. Create a function to add a new book to the collection, with title and author. Create a function to remove a book from the collection (hint: you can use the array filter. Display all books saved in the collection in the top part of the page. when a user clicks the "Add" button: a new book is added to the collection. The new book is displayed on the page. when a user clicks the "Remove" button: The correct book is removed from the collection. The correct book disappears from the page. Data is preserved in the browser's memory by using localStorage.