Skip to content

Manchester | 26-ITP-Sep | Rahana Suleiman | Sprint 3 | Complete Sprint 3 Coursework - #1622

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

rahanasuleiman8-ship-it wants to merge 14 commits into
CodeYourFuture:mainfrom
rahanasuleiman8-ship-it:coursework/sprint-3

Conversation

@rahanasuleiman8-ship-it

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

Task code
CYF-1053

This Pull Request completes the JavaScript fundamentals coursework for Sprint 3 by resolving core syntax errors, fixing variable scope and function return issues, and implementing key utility functions like BMI calculation, string case conversion, and currency formatting. It also documents line-by-line execution tracing for nested functions and refactors the formatAs12HourClock utility to accurately handle edge cases like midnight, noon, single-digit PM hours, and minute preservation—all backed by a full console.assert test suite.

…pdate comments

- predict and explain the outcome of the code
…e convertToPercentage

- Update console.log to pass argument to convertToPercentage instead of logging decimalNumber
- resolve parameter syntax error in square function
- Pass returned value into template literal expression
… explanations

- Move expression a + b onto the same line as return keyword
- Prevent the function from returning undefined on a newline
…ect last digit

- Predict and explain hardcoded global variable behavior before fixing
- Chain toUpperCase() and replaceAll() to format spaces as underscores
- Add console logs to verify the code is working
- Refactor time formatting functions for consistency and clarity
- Explain string padding logic and modulo operator calculations for 61 seconds
@netlify

netlify Bot commented Sep 28, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for cyf-onboarding-module ready!

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

@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 28, 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 28, 2026
@rahanasuleiman8-ship-it rahanasuleiman8-ship-it changed the title Manchester | 26-ITP-Sep | Rahana Suleiman | Sprint 2 | Complete Sprint 3 Coursework Manchester | 26-ITP-Sep | Rahana Suleiman | Sprint 3 | Complete Sprint 3 Coursework Sep 28, 2026
@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 28, 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.

1 participant