Skip to content

London | 26-ITP-May | Chun Yan Wong | Sprint 2 | Book library - #525

Open
cywong-dev wants to merge 14 commits into
CodeYourFuture:mainfrom
cywong-dev:book-library
Open

London | 26-ITP-May | Chun Yan Wong | Sprint 2 | Book library#525
cywong-dev wants to merge 14 commits into
CodeYourFuture:mainfrom
cywong-dev:book-library

Conversation

@cywong-dev

Copy link
Copy Markdown

Learners, PR Template

Self checklist

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

Changelist

This PR provides the answer for the coursework book library

Fix variable name for delete button in script.js
There is no event called clicks
Read/unread saves the wrong answer
Fix the sequence
Remove newline characters;
Change "127" to 127 ;
Simplify two push statement to one push statement
Refactor submit function to improve input validation.
Refactor row deletion logic to use while loop for clarity.
Refactor loop to directly use myLibrary.length and simplify read status button logic.
Removed the call to render() when initializing the library.
@cywong-dev cywong-dev added 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 Aug 7, 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.

@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 7, 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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants