issues
search
zhorabay
/
Awesome-books
In this project, I structured Awesome books app code which adds/remove books from the list.
https://zhorabay.github.io/Awesome-books/
MIT License
1
stars
0
forks
source link
Awesome books: plain JavaScript with objects
#1
Closed
zhorabay
closed
1 year ago
zhorabay
commented
1 year ago
[ ] In this branch, we:
Implemented only a basic UI with plain HTML;
Created a collection that keeps a list of books;
Created a function to add a new book to the collection, with title and author;
Created a function to remove a book from the collection;
Displayed all books saved in the collection in the top part of the page;
Used only plain JavaScript.
Made that when a user clicks the "Add" button: A new book is added to the collection. The new book is displayed in the page.
Make sure that when a user clicks the "Remove" button: The correct book is removed from the collection. The correct book dissapears from the page.