Skip to content

London | 26-ITP-May | Vito Moratti | Sprint 3 | Quote generator - #1376

Open
vmoratti wants to merge 3 commits into
CodeYourFuture:mainfrom
vmoratti:Module-Data-Groups/quote-generator
Open

London | 26-ITP-May | Vito Moratti | Sprint 3 | Quote generator#1376
vmoratti wants to merge 3 commits into
CodeYourFuture:mainfrom
vmoratti:Module-Data-Groups/quote-generator

Conversation

@vmoratti

@vmoratti vmoratti commented Aug 4, 2026

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

Complete Quote-generator.

Questions

I couldn't attempt stretch exercises unfortunately as i am behind with the other coursework.

@vmoratti vmoratti added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Aug 4, 2026
@LonMcGregor LonMcGregor added the Review in progress This review is currently being reviewed. This label will be replaced by "Reviewed" soon. label Aug 10, 2026

@LonMcGregor LonMcGregor left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Good start on this task, some areas could be improved

Comment thread Sprint-3/quote-generator/index.html Outdated
</header>
<main>
<section>
<p id="quote"></p>

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

good use of a main and section, is there any semantic html you could use for the quote content itself?

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 replaced

with

which is more semantic/ appropriate

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 don't know what happened there with the comment. ....
I replaced paragraph tags with blockquote.

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

function newQuoteEveryTime() {
const quote = pickFromArray(quotes);
const quotePlace = document.querySelector("#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.

Is there a reason you have duplicate querySelectors?

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 thought there was a reason initially, but now i replaced those four variables with just two.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

On my device, the browser shows a scrollbar here that isn't necessary, can you figure out why?

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.

done

@LonMcGregor LonMcGregor 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. Review in progress This review is currently being reviewed. This label will be replaced by "Reviewed" soon. labels Aug 10, 2026
@vmoratti vmoratti added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Aug 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants