Skip to content

Manchester | 26-ITP-Sep | Salah Alsabhi | Sprint 2 | Book Library - #606

Open
salahalsabhi wants to merge 1 commit into
CodeYourFuture:mainfrom
salahalsabhi:feature/book-library
Open

salahalsabhi wants to merge 1 commit into
CodeYourFuture:mainfrom
salahalsabhi:feature/book-library

Conversation

@salahalsabhi

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

Task code

CYF-1122

Changelist

Book Library – Bug Fixes and Improvements

Fixed the known bugs and improved the Book Library application.

Bug Fixes

  • Fixed the initial book rendering issue.
  • Fixed the book submission error.
  • Corrected the author field assignment.
  • Fixed the delete button functionality.
  • Corrected the Read / Unread status.
  • Added validation for required fields.
  • Prevented zero, negative, non-numeric, and decimal page counts.

Improvements

  • Clear form fields after successfully adding a book.
  • Use textContent instead of innerHTML for displaying user-provided book data.
  • Store the number of pages as a Number.
  • Removed the unnecessary duplicate render() call.

Testing

  • Tested adding and deleting books.
  • Tested Read / Unread functionality.
  • Tested form validation.
  • Tested the application after refreshing the page.

Questions

No questions.

@github-actions

This comment has been minimized.

@salahalsabhi salahalsabhi changed the title Manchester | 26-ITP-Sep | Salah Alsabhi | Sprint-2 | Book Library Manchester | 26-ITP-Sep | Salah Alsabhi | Sprint-2 | Book-Library Nov 26, 2026
@github-actions

This comment has been minimized.

@salahalsabhi salahalsabhi changed the title Manchester | 26-ITP-Sep | Salah Alsabhi | Sprint-2 | Book-Library Manchester | 26-ITP-Sep | Salah Alsabhi | Sprint 2 | Book Library Nov 26, 2026
@salahalsabhi salahalsabhi added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Nov 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant