Skip to content

London | ITP-JAN-2026 | Said Fayaz Sadat | Sprint 3 | coursework/Quote-generator#1086

Open
fayaz551 wants to merge 6 commits intoCodeYourFuture:mainfrom
fayaz551:coursework/Sprint-3/Quote-generator
Open

London | ITP-JAN-2026 | Said Fayaz Sadat | Sprint 3 | coursework/Quote-generator#1086
fayaz551 wants to merge 6 commits intoCodeYourFuture:mainfrom
fayaz551:coursework/Sprint-3/Quote-generator

Conversation

@fayaz551
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

updated the html
styled it with css
implemented DOM to quotes.js

Questions

n/a

@fayaz551 fayaz551 added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Mar 23, 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
const quoteTxt = document.querySelector("#quote");
const quoteAuthor = document.querySelector("#author");
const autoPlay = document.querySelector("#auto-play");
const autoPlayTxt = document.querySelector("#auto-play-txt");
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 the html page I don't see any button to start autoplay

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.

updated the code with md file requirement to toggle on/off and show quotes every 60 sec.

initaliseSite();
autoPlay.addEventListener("change", () => {
if (autoPlay.checked) {
console.log("ON");
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Debugging logs should be removed in the final code

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, thanks for pointing it out.

@Luro91 Luro91 added Reviewed Volunteer to add when completing a review with trainee action still to take. and removed Review in progress This review is currently being reviewed. This label will be replaced by "Reviewed" soon. labels Apr 6, 2026
@fayaz551 fayaz551 added Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. and removed Reviewed Volunteer to add when completing a review with trainee action still to take. labels Apr 7, 2026
Comment on lines +15 to +20
<div class="autoplay-container">
<input type="checkbox" id="auto-play" />
<label for="auto-play">Enable Auto-Play</label>

<p id="auto-play-txt">Auto-Play: OFF</p>
</div>
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

How could you ensure that the code is formatted with the correct indentation?

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.

by using prettier extension.
updated the file for correct indentation.

@Luro91 Luro91 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 Apr 8, 2026
@fayaz551 fayaz551 added Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. and removed Reviewed Volunteer to add when completing a review with trainee action still to take. labels Apr 13, 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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants