Skip to content

ITP London - May 2025 | Chi Mbah | Module Data Flows | Book Library #224

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

Chi-Mb
Copy link

@Chi-Mb Chi-Mb commented May 15, 2025

Learners, PR Template

Self checklist

  • I have committed my files one by one, on purpose, and for a reason
  • I have titled my PR with REGION | COHORT_NAME | FIRST_NAME LAST_NAME | PROJ_NAME
  • I have tested my changes
  • My changes follow the style guide
  • My changes meet the requirements of this task

Changelist

Briefly explain your PR.

Questions

Ask any questions you have for your reviewer.

@Chi-Mb Chi-Mb added the Needs Review Participant to add when requesting review label May 16, 2025
@fearcyf fearcyf self-assigned this May 19, 2025
@fearcyf fearcyf added Review in progress This review is currently being reviewed. This label will be replaced by "Reviewed" soon. and removed Needs Review Participant to add when requesting review labels May 19, 2025
Copy link
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.

Code is working good when the user behaves nicely.

Here are some suggestions for you to consider:

  • Lines 18-21:

    • Using descriptive and consistent suffixes for DOM elements (like El, Input, Btn, Form, etc.) can significantly improves code readability and maintainability.
  • Lines 67, 77:

    • Are the values assigned to these id attributes unique?
    • Is there any need to assign an id attribute to either buttons?
  • Line 62:

    • The current method of assigning book titles to HTML elements can cause display issues if a title contains special character sequences like <i>.
  • When I asked ChatGPT to review your code, it gave some useful suggestions that I missed. You should try it too and see if there is anything that you can use to improve your implementation.

Copy link
Contributor

@cjyuan cjyuan May 19, 2025

Choose a reason for hiding this comment

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

HTML code is error free. Good job!

@cjyuan cjyuan added Reviewed Volunteer to add when completing a review and removed Review in progress This review is currently being reviewed. This label will be replaced by "Reviewed" soon. labels May 19, 2025
@Chi-Mb Chi-Mb added the Complete Volunteer to add when work is complete and review comments have been addressed label May 19, 2025
@cjyuan
Copy link
Contributor

cjyuan commented May 19, 2025

I was hoping you can address all my suggestions.

@Chi-Mb
Copy link
Author

Chi-Mb commented May 19, 2025

@cjyuan Thanks for the suggestions. I've implemented them to my code

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 review comments have been addressed Reviewed Volunteer to add when completing a review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants