-
-
Notifications
You must be signed in to change notification settings - Fork 161
London | ITP-May-2025 | Seddiq Azam | Module-Data-Flows | Book Library #263
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.