Skip to content

Sheffield | 26-ITP-jan | Richard Frimpong | Sprint 2 | Book Library - #437

Closed
Richiealx wants to merge 2 commits into
CodeYourFuture:mainfrom
Richiealx:feature/book-library
Closed

Sheffield | 26-ITP-jan | Richard Frimpong | Sprint 2 | Book Library#437
Richiealx wants to merge 2 commits into
CodeYourFuture:mainfrom
Richiealx:feature/book-library

Conversation

@Richiealx

Copy link
Copy Markdown

Learners, PR Template

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

Changelist

This PR fixes the bugs in the Book Library debugging project for Sprint 2 of the Data Flows module.

Changes made:

  • fixed initial rendering so books display on page load
  • fixed form submission so new books are added to myLibrary
  • fixed validation to require title, author, and a valid page count
  • fixed author field bug so the correct author is stored
  • stored page count as a number instead of a string
  • fixed read status so it displays correctly
  • fixed toggle button behaviour for read/unread
  • fixed delete functionality so books are removed correctly
  • improved variable naming for DOM elements
  • cleaned up table rendering to use tbody
  • corrected invalid HTML input types and improved basic HTML validation

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

Looks good. Well done.

@@ -1,46 +1,55 @@
let myLibrary = [];

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.

Could declare this using const.

@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 Apr 16, 2026
@illicitonion

Copy link
Copy Markdown
Member

Closing PR because the January ITP run has finished. Feel free to re-open if you're still working on it.

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