Skip to content

Manchester | 26-ITP-Sep | Precious Moses | Sprint 2 | Book-Library - #605

Open
moses77-boop wants to merge 31 commits into
CodeYourFuture:mainfrom
moses77-boop:Sprint-2
Open

moses77-boop wants to merge 31 commits into
CodeYourFuture:mainfrom
moses77-boop:Sprint-2

Conversation

@moses77-boop

Copy link
Copy Markdown

Self checklist

  • I have titled my PR with Region | Cohort | FirstName LastName | Sprint | Assignment Title
  • My changes meet the requirements of the task
  • I have tested my changes
  • My changes follow the style guide

Task code

CYF-1122

Changelist

In this PR, I debugged a Book Library application.

@moses77-boop moses77-boop added 📅 Sprint 2 Assigned during Sprint 2 of this module Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. Module-Data-Flows The name of the module. labels Nov 26, 2026

@cjyuan cjyuan left a comment

Copy link
Copy Markdown
Contributor

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/CodeYourFuture/Module-Data-Flows/blob/general-review-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 Nov 28, 2026
@moses77-boop

Copy link
Copy Markdown
Author

Thank you for the feedback @cjyuan.
I have refactored my code using the feedback as a guide to help improve my code.

@moses77-boop moses77-boop 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 Nov 29, 2026
Comment on lines +66 to 69
</form>
</div>
<div id="message" class="alert alert-warning" role="status" hidden></div>
<table class="table" id="display">

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Indentation is off.

Comment on lines +16 to +19
const myLibrary = [
new Book("Robinson Crusoe", "Daniel Defoe", "252", true),
new Book("The Old Man and the Sea", "Ernest Hemingway", "127", true),
];

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Change is optional but you should use AI to explore:

Trade-off between initialise storage using a separate populateStorage() function and initializing storage directly with object literals. (In the context of JS)

Comment on lines +5 to +7
const bookFormE1 = document.getElementById("book-form");
const bookListE1 = document.getElementById("book-list");
const messageE1 = document.getElementById("message");

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

The suffix is suppose to be the first two letters of the word "element" ('E' and lowercase 'L') and not ('E' and digit one).

@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 Nov 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Module-Data-Flows The name of the module. Reviewed Volunteer to add when completing a review with trainee action still to take. 📅 Sprint 2 Assigned during Sprint 2 of this module

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants