Skip to content

Conversation

@AdiyahFarhan
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 Region | Cohort | FirstName LastName | Sprint | Assignment Title
  • I have tested my changes
  • My changes follow the style guide
  • My changes meet the requirements of this task

Changelist

Changes has been made to fix the bugs on the website, Now the list of books can be viewed, add a new book and delete the book successfully.

Questions

No

@AdiyahFarhan AdiyahFarhan added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Aug 8, 2025
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.

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.

@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 Aug 9, 2025
@AdiyahFarhan AdiyahFarhan added Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. and removed Reviewed Volunteer to add when completing a review with trainee action still to take. labels Aug 13, 2025
@github-actions
Copy link

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 (Debugging) doesn't match expected format (example: 'Sprint 2', without quotes)

1 similar comment
@github-actions
Copy link

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 (Debugging) doesn't match expected format (example: 'Sprint 2', without quotes)

@AdiyahFarhan
Copy link
Author

Thanks @cjyuan for your valuable feedback, it helps me alot in my learning process. I have updated the HTML and JS files as per your feedback. Please have a look on these changes.
Thanks.

@AdiyahFarhan AdiyahFarhan changed the title Glasgow | 25-ITP-May | Adiyah Farhan | Debugging | Book-Library-Project Glasgow | 25-ITP-May | Adiyah Farhan | Data-Flows | Book-Library-Project Aug 13, 2025
@github-actions
Copy link

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 (Data-Flows) doesn't match expected format (example: 'Sprint 2', without quotes)

@AdiyahFarhan AdiyahFarhan changed the title Glasgow | 25-ITP-May | Adiyah Farhan | Data-Flows | Book-Library-Project Glasgow | 25-ITP-May | Adiyah Farhan | Sprint-2 | Book-Library-Project Aug 13, 2025
@github-actions
Copy link

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 (Sprint-2) doesn't match expected format (example: 'Sprint 2', without quotes)

@AdiyahFarhan AdiyahFarhan changed the title Glasgow | 25-ITP-May | Adiyah Farhan | Sprint-2 | Book-Library-Project Glasgow | 25-ITP-May | Adiyah Farhan | Sprint 2 | Book-Library-Project Aug 13, 2025
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.

Changes look great! Well done.

Comment on lines 99 to +105
let readStatus = "";
if (myLibrary[i].check == false) {
readStatus = "Yes";
} else {
readStatus = "No";
} else {
readStatus = "Yes";
}
changeBut.innerText = readStatus;
readButton.innerText = readStatus;
Copy link
Contributor

Choose a reason for hiding this comment

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

This could be a good opportunity to practice using the ? : conditional operator. Can you rewrite the code on lines 99-105 as a single statement?

@cjyuan cjyuan added Complete Volunteer to add when work is complete and all review comments have been addressed. and removed Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. labels Aug 14, 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).

1 similar comment
@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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants