Skip to content

Manchester | 26-ITP-Sep | Salah Alsabhi | Sprint 2 | Coursework - #1551

Open
salahalsabhi wants to merge 16 commits into
CodeYourFuture:mainfrom
salahalsabhi:coursework/sprint-2
Open

salahalsabhi wants to merge 16 commits into
CodeYourFuture:mainfrom
salahalsabhi:coursework/sprint-2

Conversation

@salahalsabhi

Copy link
Copy Markdown

Manchester| 26-ITP-Sep | Salah Alsabhi| Sprint2| Coursework

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

Task code

CYF-1039

Changelist

Completed All Sprint2 exercises

@netlify

netlify Bot commented Sep 20, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for cyf-onboarding-module ready!

Name Link
🔨 Latest commit 3548ebc
🔍 Latest deploy log https://app.netlify.com/projects/cyf-onboarding-module/deploys/6ab6a4b79124bc00077d6c8d
😎 Deploy Preview https://deploy-preview-1551--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.

@github-actions

This comment has been minimized.

@salahalsabhi salahalsabhi added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Sep 20, 2026
@github-actions

This comment has been minimized.

@github-actions github-actions Bot removed the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Sep 20, 2026
@salahalsabhi salahalsabhi added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Sep 20, 2026
@github-actions

This comment has been minimized.

@github-actions github-actions Bot removed the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Sep 20, 2026
@salahalsabhi salahalsabhi changed the title Coursework/sprint 2 Manchester | 26-ITP-Sep | Salah Alsabhi | Sprint 2 | Coursework Sep 20, 2026
@salahalsabhi salahalsabhi added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Sep 20, 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 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
@hackertainment

Copy link
Copy Markdown

Generally a high quality piece of work, just a few minor issues to fix. Keep it up.

@salahalsabhi

Copy link
Copy Markdown
Author

Addressed the minor review points in the latest commit

@salahalsabhi salahalsabhi added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Sep 25, 2026
@hackertainment

Copy link
Copy Markdown

Thanks for your updated code. However, I cannot see the fixes for the following two issues. Would you please fix them as well?

@hackertainment hackertainment removed the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Sep 25, 2026
Comment thread Sprint-2/1-key-exercises/4-random.js Outdated
// Try breaking down the expression and using documentation to explain what it means
// It will help to think about the order in which expressions are evaluated
// Try logging the value of num and running the program several times to build an idea of what the program is doing
// num is a random whole number between 1 and 100 No newline at end of file

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Your answer is correct. Just the requirement in line 8 means to explain the meaning of each break down of expression. So please add some more details on how the "random whole number between 1 and 100" conclusion comes from. Thank you.

Comment on lines 17 to +18
// a) How many function calls are there in this file? Write down all the lines where a function call is made
// Answer: 6 function calls.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Please write down all the lines where a function call is made. Thank you.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Accurate details, good work!

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 because you also describe the return value correctly as well.

@salahalsabhi

Copy link
Copy Markdown
Author

Thank you for feedback...I Fixed both remaining review comments in the latest commit.

@salahalsabhi salahalsabhi added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Sep 25, 2026
@salahalsabhi

Copy link
Copy Markdown
Author

Fixed both remaining review comments:

  • 4-random.js: step-by-step breakdown of the expression
  • 1-percentage-change.js: listed all lines with function calls

@hackertainment

Copy link
Copy Markdown

Congratulation, you have completed this PR successfully.

@hackertainment hackertainment added Complete Volunteer to add when work is complete and all review comments have been addressed. 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

Complete Volunteer to add when work is complete and all review comments have been addressed. 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