London | 26-ITP-January | Eugenie Ahangama | Sprint 2 | Book Library#434
London | 26-ITP-January | Eugenie Ahangama | Sprint 2 | Book Library#434Eugenie-A wants to merge 4 commits intoCodeYourFuture:mainfrom
Conversation
cjyuan
left a comment
There was a problem hiding this comment.
Can you check if any of this general feedback can help you further improve your code?
https://github.com/CodeYourFuture/Module-Data-Flows/blob/general-review-feedback/debugging/book-library/feedback.md
Doing so can help me speed up the review process. Thanks.
Hi, I've gone through the feedback and addressed all the points raised. |
cjyuan
left a comment
There was a problem hiding this comment.
Changes look good. Well done.
| @@ -1,103 +1,107 @@ | |||
| let myLibrary = []; | |||
There was a problem hiding this comment.
Could declare this using const.
| window.addEventListener("load", function () { | ||
| // Removed extra render() call | ||
| // — populateStorage() already calls it internally | ||
| populateStorage(); | ||
| render(); | ||
| }); |
There was a problem hiding this comment.
Could also place the code that sets up event listener on page load (code on line 13) here.
Learners, PR Template
Self checklist
Changelist
index.html:
script.js:
Questions
N/A