Skip to content

Conversation

@Grajales-K
Copy link

Learners, PR Template

Self checklist

  • I have committed my files one by one, on purpose, and for a reason
  • I have titled my PR with COHORT_NAME | FIRST_NAME LAST_NAME | REPO_NAME | WEEK
  • I have tested my changes
  • My changes follow the style guide
  • My changes meet the requirements of this task

Changelist

This project taught us key skills in debugging and version control. I resolved Git branch issues, handled cherry-picks, and fixed event listener errors in JavaScript. Clear boolean condition checks improved code reliability, and we efficiently resolved merge conflicts during cherry-pick operations. Finally, I emphasized the importance of maintaining a disciplined Git workflow to manage changes systematically.

Questions

Ask any questions you have for your reviewer.

@Grajales-K Grajales-K added 🏕 Priority Mandatory This work is expected 🔑 Priority Key 📅 Sprint 3 Assigned during Sprint 3 of this module Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. labels Jan 19, 2025
@Grajales-K Grajales-K requested a review from cjyuan January 19, 2025 22:07
Copy link
Contributor

@cjyuan cjyuan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • On page load, is it necessary to call render() twice?

  • In terms of input validation,

  1. Are all input properly checked?
  2. Can .value be null? (Do we need to check someInputElement.value == null?)
  3. What if a user enters only space characters in the "title" input field?
  4. What if a users enters -1 or 3.1416 in the "pages" input field?

There is also some errors in index.html. Perhaps an HTML validator can quickly help you identify them.

@cjyuan cjyuan added Reviewed Volunteer to add when completing a review with trainee action still to take. and removed Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. labels Jan 19, 2025
@Grajales-K
Copy link
Author

  • On page load, is it necessary to call render() twice?
  • In terms of input validation,
  1. Are all input properly checked?
  2. Can .value be null? (Do we need to check someInputElement.value == null?)
  3. What if a user enters only space characters in the "title" input field?
  4. What if a users enters -1 or 3.1416 in the "pages" input field?

There is also some errors in index.html. Perhaps an HTML validator can quickly help you identify them.

@Grajales-K Grajales-K requested a review from cjyuan January 20, 2025 01:50
Copy link
Contributor

@cjyuan cjyuan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After you fix the code that check for page numbers. Feel free to mark this as Completed.

pages.value == ""
pages.value == "" ||
pages.value <= 0 ||
pages.value != parseInt()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line 38 looks weird. What does that compare?

@Grajales-K Grajales-K added the Complete Volunteer to add when work is complete and all review comments have been addressed. label Feb 4, 2025
@github-actions
Copy link

Your PR couldn't be matched to an assignment in this module.

Please check its title is in the correct format, and that you only have one PR per assignment.

If this PR is not coursework, please add the NotCoursework label (and message on Slack in #cyf-curriculum or it will probably not be noticed).

@github-actions
Copy link

Your PR couldn't be matched to an assignment in this module.

Please check its title is in the correct format, and that you only have one PR per assignment.

If this PR is not coursework, please add the NotCoursework label (and message on Slack in #cyf-curriculum or it will probably not be noticed).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Complete Volunteer to add when work is complete and all review comments have been addressed. 🏕 Priority Mandatory This work is expected Reviewed Volunteer to add when completing a review with trainee action still to take. 📅 Sprint 3 Assigned during Sprint 3 of this module

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants