-
-
Notifications
You must be signed in to change notification settings - Fork 158
London | 25-ITP-Sep |Sophia Mohamed | Sprint 2 | book library project #342
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
base: main
Are you sure you want to change the base?
Conversation
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.
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.
Trim title and author and reject empty values - Convert page count to a number and validate it is positive
|
Thank you for the feedback! |
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 great!
| return; | ||
| } | ||
|
|
||
| if (!Number.isFinite(pages) || pages <= 0) { |
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.
Should also reject non-integers.
Learners, PR Template
Self checklist
Changelist
I have completed the required tasks and fixed the submit button, and I can add new books
Questions