-
-
Notifications
You must be signed in to change notification settings - Fork 162
Birmingham | 25-ITP-Sept | Khor Biel | Sprint 2 | feature/book-library #337
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
…, and restore full app functionality
…ing for better form readability and alignment
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
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.
There are errors in the HTML code.
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. Would be even better if you could also respond to the comments.
|
|
||
| // pages should be a positive integer (prevent "weird" page counts) | ||
| const pNum = Number(pRaw); | ||
| if (!Number.isFinite(pNum) || pNum <= 0 || !Number.isInteger(pNum)) { |
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.
This is solid. The first condition is optional because of this check: !Number.isInteger(pNum).
|
@cjyuan I did respond to the comments and marked them resolved |
|
I was referring to written responses. |
Learners, PR Template
Self checklist
Changelist
Here’s a shorter, clean PR description:
Fixed Library App Functionality
What’s Fixed
Other Improvements
No question