Skip to content

London | May-26 | Liridona Shehu | Sprint 3 | Module-Data-Groups- Qoute Generator - #1312

Open
shehu-dona wants to merge 4 commits into
CodeYourFuture:mainfrom
shehu-dona:Sprint-3/-QOUTE-GENERATOR
Open

London | May-26 | Liridona Shehu | Sprint 3 | Module-Data-Groups- Qoute Generator#1312
shehu-dona wants to merge 4 commits into
CodeYourFuture:mainfrom
shehu-dona:Sprint-3/-QOUTE-GENERATOR

Conversation

@shehu-dona

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
  • [x ] My changes follow the style guide

Changelist

A PR with a quote generator app

@shehu-dona shehu-dona 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 Jul 27, 2026
Comment thread Sprint-3/quote-generator/quotes.js Outdated
];

function updateUI(quoteObject) {
let quoteParagraph = document.getElementById("quote");

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Do these change everytime updateUI is called? Is it efficient to query them here?

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.

Removed document.getElementById("") outside the function.

Comment thread Sprint-3/quote-generator/quotes.js Outdated
}

// call pickFromArray with the quotes array to check you get a random quote
let randomQuote = pickFromArray(quotes);

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Can we apply the DRY principle (Don't repeat yourself) here?

Comment thread Sprint-3/quote-generator/index.html Outdated
</head>
<body>
<h1>hello there</h1>
<h1>Hello there</h1>

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Is this H1 needed?

Just a suggestion - Worth playing around with the html and css to alter the look, format the quote etc

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.

Removed unnecessary heading.
Definitely I will do that, soon as i will finish with mandatory tasks :)

@madhuranakate madhuranakate added Reviewed Volunteer to add when completing a review with trainee action still to take. and removed Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. labels Jul 29, 2026
@shehu-dona

Copy link
Copy Markdown
Author

Hello @madhuranakate
I read your comments and updated the coed.

@shehu-dona shehu-dona added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Jul 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Module-Data-Groups The name of the module. Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. Reviewed Volunteer to add when completing a review with trainee action still to take. 📅 Sprint 3 Assigned during Sprint 3 of this module

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants