Skip to content

Manchester | 26-ITP-Jan | Abdu Hassen | Sprint 3| Quote Generator - #1125

Closed
Abduhasen wants to merge 1 commit into
CodeYourFuture:mainfrom
Abduhasen:Data-Groups-sprint-3-backlog-quote
Closed

Manchester | 26-ITP-Jan | Abdu Hassen | Sprint 3| Quote Generator #1125
Abduhasen wants to merge 1 commit into
CodeYourFuture:mainfrom
Abduhasen:Data-Groups-sprint-3-backlog-quote

Conversation

@Abduhasen

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

Questions

N/A

@Abduhasen Abduhasen added 📅 Sprint 3 Assigned during Sprint 3 of this module Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. Module-Data-Groups The name of the module. labels Mar 27, 2026
@Luro91 Luro91 added Review in progress This review is currently being reviewed. This label will be replaced by "Reviewed" soon. and removed Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. labels Apr 6, 2026
Comment on lines +22 to +33
function quotesAndAuthor() {
const randomQuote = pickFromArray(quotes);
document.querySelector("#quote").innerText = randomQuote.quote;
document.querySelector("#author").innerText = randomQuote.author;
}
function setup() {
quotesAndAuthor(); // show a quote on load
document.getElementById("new-quote").addEventListener("click", () => {
quotesAndAuthor();
});
}
window.onload = setup;

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Well done this works well.

@Luro91 Luro91 added Complete Volunteer to add when work is complete and all review comments have been addressed. and removed Review in progress This review is currently being reviewed. This label will be replaced by "Reviewed" soon. labels Apr 6, 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. Module-Data-Groups The name of the module. 📅 Sprint 3 Assigned during Sprint 3 of this module

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants