Skip to content

London | 26-ITP-Jan | Miriam Jorna | Sprint 2 | Book Library#481

Closed
miriamjorna wants to merge 1 commit intoCodeYourFuture:mainfrom
miriamjorna:debugging
Closed

London | 26-ITP-Jan | Miriam Jorna | Sprint 2 | Book Library#481
miriamjorna wants to merge 1 commit intoCodeYourFuture:mainfrom
miriamjorna:debugging

Conversation

@miriamjorna
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

Changelist

Book Library task done. I've also looked at CJ's list of recommended checks.
My apologies for the late submit. It's been a challenge to catch up.

@miriamjorna miriamjorna added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Apr 23, 2026
Copy link
Copy Markdown
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.

You did your homework. Well done.

window.addEventListener("load", function () {
populateStorage();
});
submitButton.addEventListener("click", addBook);
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.

Why not also include line 12 inside the window "on load" callback?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

I have no good answer to that. Haste, I think!

Comment on lines +41 to +43
}
const book = new Book(title, author, pages, readCheckbox.checked);
myLibrary.push(book);
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.

Have you successfully enabled "Format on save" and selected "prettier" as your default JS formatter on VS Code?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Ever since our previous sessions I have religiously double checked if my code was formatted before submitting - except this morning. Apologies!

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.

You shouldn't have to if you enabled format on save and select prettier as your default JS formatter.
Not only can these automated tools format the code consistently, they can also save us some time.

@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 23, 2026
@miriamjorna
Copy link
Copy Markdown
Author

Many thanks CJ! I hope to "meet" you often in future reviews. You really keep us on our toes and I think our interactions should be marked as mentoring sessions :) Thanks again

@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