Skip to content

Manchester | 26-ITP-Sep | Fatima Rouchi | Sprint 2 | Complete Sprint 2 Coursework - #1581

Open
fatimarouchi wants to merge 20 commits into
CodeYourFuture:mainfrom
fatimarouchi:coursework/sprint-2
Open

fatimarouchi wants to merge 20 commits into
CodeYourFuture:mainfrom
fatimarouchi:coursework/sprint-2

Conversation

@fatimarouchi

@fatimarouchi fatimarouchi commented Sep 23, 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

CYF-1039

-Completed Sprint 2 JavaScript exercises and interpretation tasks.
-Worked through errors and fixed issues in practice code.
-Improved my understanding of JavaScript basics, functions, and logic.
-Checked outputs and confirmed the solutions run correctly.

@netlify

netlify Bot commented Sep 23, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for cyf-onboarding-module ready!

Name Link
🔨 Latest commit 4e28617
🔍 Latest deploy log https://app.netlify.com/projects/cyf-onboarding-module/deploys/6ab76c6ccea89200083637c6
😎 Deploy Preview https://deploy-preview-1581--cyf-onboarding-module.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
2 paths audited
Performance: 100 (no change from production)
Accessibility: 100 (no change from production)
Best Practices: 100 (no change from production)
SEO: 86 (no change from production)
PWA: -
View the detailed breakdown and full score reports
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@fatimarouchi fatimarouchi added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Sep 23, 2026
@hackertainment hackertainment 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 Sep 24, 2026
@hackertainment

Copy link
Copy Markdown

Good try. Please keep it up :-)

@hackertainment hackertainment 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 Sep 24, 2026
Comment thread Sprint-2/1-key-exercises/3-paths.js Outdated
Comment thread Sprint-2/1-key-exercises/4-random.js Outdated
Comment thread Sprint-2/1-key-exercises/4-random.js Outdated
Comment thread Sprint-2/3-mandatory-interpret/3-to-pounds.js
Comment thread Sprint-2/3-mandatory-interpret/3-to-pounds.js
@fatimarouchi fatimarouchi added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Sep 26, 2026
@fatimarouchi fatimarouchi removed the Reviewed Volunteer to add when completing a review with trainee action still to take. label Sep 26, 2026
Comment on lines +12 to 17
// Math.random() returns a number that's greater than or equal to 0 and less than 1.
/*Then we multiply by (maximum - minimum + 1) to get a range of possible values, which means
all the values num could end up being. In this program, num can be any whole number from 1 to 100, inclusive
so both 1 and 100 are possible.*/
// Math.floor(...) turns that into a whole number.
// Finally, we add minimum so the number starts at minimum instead of 0.

@hackertainment hackertainment Sep 26, 2026 •

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Just to clarify further from your updated explanation about "so both 1 and 100 are possible" before Math.floor(...) and "Finally, we add minimum ..." after Math.floor(...), does that mean num would end up becoming range of 2 to 101 ? If not, please consider revise it a bit to improve clarity and accuracy. While this could be English presentation issue, I am just making sure that your understanding is correct. Thank you.

@hackertainment hackertainment 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 Sep 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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