Skip to content

London | 26 ITP SEP | Russom Gebremeskel | Sprint 3 | Coursework - #1520

Open
russom-g wants to merge 37 commits into
CodeYourFuture:mainfrom
russom-g:coursework/sprint-3
Open

russom-g wants to merge 37 commits into
CodeYourFuture:mainfrom
russom-g:coursework/sprint-3

Conversation

@russom-g

@russom-g russom-g commented Sep 13, 2026 •

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-1053

Changelist

Code error fixed, debugged, and refactored as reqiured.

@netlify

netlify Bot commented Sep 13, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for cyf-onboarding-module ready!

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

@russom-g russom-g added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Sep 17, 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 26, 2026
@russom-g russom-g added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Sep 26, 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 26, 2026
@russom-g russom-g added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Sep 26, 2026
@abdishakoor-dev abdishakoor-dev 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 29, 2026

@abdishakoor-dev abdishakoor-dev left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

1-key-errors/1.js and 2.js are both fixed, thanks.

Four things before I can mark this Complete:

  1. 3-to-pounds.js has not changed yet. See my reply on line 8.
  2. time-format.js d) and e): see my reply on line 44.
  3. In 1-key-errors, the original code still runs. See my comment on 0.js line 23.
  4. Most of your files still fail Prettier. Prettier is the tool that formats your code to one agreed style. It comes with the CYF extension pack from onboarding. If you're not sure you have it, search for CodeYourFuture Extension Pack in VS Code Extensions: https://marketplace.visualstudio.com/items?itemName=CodeYourFuture.cyf-extension-pack Then open each file you changed, right click, choose Format Document, and pick Prettier if VS Code asks. Do item 3 first. Prettier cannot read 2.js while square(3) is still live. To format every time you save, follow the steps here: https://github.com/CodeYourFuture/Module-JavaScript-Fundamentals/blob/main/practical_guide.md

Add the Needs Review label again once you've pushed.


// =============> write your new code here

function capitalise(str) {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Run this file with node. What happens? The original code on lines 11 to 14 still runs. It stops the file with a SyntaxError, so your fix never runs. How can you keep the original in the file but stop it running? 1.js and 2.js have the same problem.

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.

Commented out code in 0.js, 1.js, and 2.js to stop error throwing.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Fixed now. All three files run without an error.

@abdishakoor-dev abdishakoor-dev 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 29, 2026
@russom-g russom-g added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Sep 30, 2026
@russom-g

Copy link
Copy Markdown
Author

@abdishakoor-dev I believe I fixed all the issues. Thanks for the feed back. It's much appreciated .

@russom-g russom-g removed the Reviewed Volunteer to add when completing a review with trainee action still to take. label Sep 30, 2026

@abdishakoor-dev abdishakoor-dev left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks Russom. Items 1 to 3 from my last review are done.

One thing is left before I can mark this Complete. Nine of your Sprint-3 files still fail Prettier. This is the third time I have asked. Last time, Prettier could not read 2.js. Now it can.

Open each file you changed, right click, and choose Format Document. Save and push. To format every time you save, follow the steps here: https://github.com/CodeYourFuture/Module-JavaScript-Fundamentals/blob/main/practical_guide.md

Add the Needs Review label again once you've pushed.

@abdishakoor-dev abdishakoor-dev 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 30, 2026
@russom-g

Copy link
Copy Markdown
Author

@abdishakoor-dev I thought I already had formatted all the code. All is done now. Thanks

@russom-g russom-g 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 Sep 30, 2026

@abdishakoor-dev abdishakoor-dev left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks Russom. All your files pass Prettier now, and every file runs without an error.

Marking this Complete. Well done.

@abdishakoor-dev abdishakoor-dev 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 30, 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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants