Skip to content

Manchester | 26-ITP-Sep | Rahana Suleiman | Sprint 2 | Complete Sprint 2 Coursework - #1563

Open
rahanasuleiman8-ship-it wants to merge 18 commits into
CodeYourFuture:mainfrom
rahanasuleiman8-ship-it:coursework/sprint-2
Open

rahanasuleiman8-ship-it wants to merge 18 commits into
CodeYourFuture:mainfrom
rahanasuleiman8-ship-it:coursework/sprint-2

Conversation

@rahanasuleiman8-ship-it

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

Task code
CYF-1039

Changelist

  • Corrected const reassignment errors using let by reordering variable declarations.
  • Fixed TypeError by converting numeric values before string slicing and fixed invalid variable identifiers starting with digits.
  • Fixed missing commas in method arguments and analysed time conversion modulo arithmetic.
  • Documented step-by-step string manipulation (.substring(), .padStart(), .padEnd()) to convert pence to pounds currency format.

…imum, and num aand logged the value of num in my terminal
…gnment and explained the error it causes when attempted
-identify function calls, declarations, aand reassignments.
-verify my code is working when I run console.log()
- document and explain the remainder(%) operator to calculate the remaining seconds after converting total seconds into full minutes.
- provide a better name for the variable 'result' and experiment with different values of movieLength
- Explain the string methods for converting pence to pounds currency format
- Verify output of formatted currency string ('£3.99') via Node.js
@netlify

netlify Bot commented Sep 21, 2026

Copy link
Copy Markdown

Deploy Preview for cyf-onboarding-module ready!

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

Copy link
Copy Markdown

The files changed in this PR don't match what is expected for this task.

Please check that you committed the right files for the task, and that there are no accidentally committed files from other sprints.

Please review the 'files changed' tab at the top of the page.

Here is an example of a file that has been changed on this branch but shouldn't be: .githooks/prepare-commit-msg

If this PR is not coursework, please add the NotCoursework label (and message on Slack in #cyf-curriculum or it will probably not be noticed).

If this PR needs reviewed, please add the 'Needs Review' label to this PR after you have resolved the issues listed above.

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

Copy link
Copy Markdown

The files changed in this PR don't match what is expected for this task.

Please check that you committed the right files for the task, and that there are no accidentally committed files from other sprints.

Please review the 'files changed' tab at the top of the page.

Here is an example of a file that has been changed on this branch but shouldn't be: prep/comparing_values.js

If this PR is not coursework, please add the NotCoursework label (and message on Slack in #cyf-curriculum or it will probably not be noticed).

If this PR needs reviewed, please add the 'Needs Review' label to this PR after you have resolved the issues listed above.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant