diff --git a/debugging/book-library/debugging-notes.md b/debugging/book-library/debugging-notes.md new file mode 100644 index 00000000..fa3945f0 --- /dev/null +++ b/debugging/book-library/debugging-notes.md @@ -0,0 +1,61 @@ +# HTML Debugging Checklist + +## Page Structure + +## Book Input Form + +## Add Book Button + +## Book Display Area + +## Delete Functionality + +## Read Status + +## Validation Support + +## Browser Testing + + +# JavaScript Debugging Checklist + +## Library Data Storage + +## Page Loading + +## Add Book Function + +## Book Constructor + +## Render Function + +## Read/Unread Button + +## Delete Button + +## Console Errors + + +## Final Testing +- [ ] Add a book with all information +- [ ] Add a book without title +- [ ] Add a book without author +- [ ] Add a book without pages +- [ ] Add a read book +- [ ] Add an unread book +- [ ] Delete a book +- [ ] Change read/unread status + +# HTML correction: +- input type +- submit function +- +# Script.js correction: +- delete e from addEventListener +- correct book name +- add input validation for author value in submit() function +- add author.value replacing title.value in new Book() +- replace library by myLibrary +- correct check == true/false and made correction for readstatus = yes/no for read button +- correct variable name delBut > delButton +- correct clicks > click \ No newline at end of file diff --git a/debugging/book-library/index.html b/debugging/book-library/index.html index 23acfa71..2628651d 100644 --- a/debugging/book-library/index.html +++ b/debugging/book-library/index.html @@ -31,7 +31,7 @@