London | ITP-May-2025 | Seddiq Azam | Module-Data-Flows | Book Library#263
London | ITP-May-2025 | Seddiq Azam | Module-Data-Flows | Book Library#263sedazam wants to merge 59 commits intoCodeYourFuture:mainfrom sedazam:book-library
Conversation
…on in submit function
…library interface; update CSS for better button alignment
…improve readability
…ook is marked as read
…adability and efficiency
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/cjyuan/Module-Data-Flows/blob/book-library-feedback/debugging/book-library/feedback.md
Doing so can help me speed up the review process. Thanks.
…ion in viewReadBooks
…oved user experience and accessibility
…nd update createDeleteButton for improved functionality and accessibility
…lity and maintainability; enhance accessibility features for buttons and forms
…and efficiency; remove redundant code for resetting input fields
…; ensure proper form attributes are set
|
This update fixes all the original bugs. On top of that, I went beyond the requirements by improving form validation. New features include a dynamic toggle for read status with instant visual updates and a |
cjyuan
left a comment
There was a problem hiding this comment.
Changes look good.
Sorry that I don't have time to go over the extra features you have implemented.
debugging/book-library/script.js
Outdated
| library.push(book); | ||
| render(); | ||
| function addBook() { | ||
| console.log("Add book button clicked!"); |
There was a problem hiding this comment.
It is a best practice, when submitting code for review, to remove all non-essential code (including that used for debugging) to keep the codebase clean.
There was a problem hiding this comment.
Removed the console.log
I want to thank you for all your effort, reviews, and valuable suggestions about the code.
|
Your PR's title isn't in the expected format. Please check its title is in the correct format, and update it. Reason: Sprint part (Module-Data-Flows) doesn't match expected format (example: 'Sprint 2', without quotes) |
Learners, PR Template
Self checklist
Changelist
Briefly explain your PR.
📋 Summary
This PR improves form validation, enhances core library functionality, and fixes several bugs to ensure smoother user interaction and better data handling.
✅ Form Validation Improvements
.trim()to prevent whitespace-only submissions.🎯 Core Functionality Fixes
render()to display books in a properly formatted table.viewReadBooks()to filter and show only books marked as read.🐛 Bug Fixes
string→number).Questions
Ask any questions you have for your reviewer.