Skip to content

Sheffield | 26-Jan-ITP | Karim M'hamdi | Sprint 3 | Quote generator - #1166

Closed
KKtech06 wants to merge 2 commits into
CodeYourFuture:mainfrom
KKtech06:Quote-Generator
Closed

Sheffield | 26-Jan-ITP | Karim M'hamdi | Sprint 3 | Quote generator#1166
KKtech06 wants to merge 2 commits into
CodeYourFuture:mainfrom
KKtech06:Quote-Generator

Conversation

@KKtech06

@KKtech06 KKtech06 commented Apr 2, 2026

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: I have improved my code and got the qoute generator to function

Questions

N/A

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

Code looks good.

Comment on lines +18 to +20
newQuoteButton.addEventListener("click", function () {
showRandomQuote();
});

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.

When the callback contains only a function call that does not involve any parameter, we can also write:

  newQuoteButton.addEventListener("click", showRandomQuote);

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