Skip to content

London | 26-ITP-Sep | Ebrahim Moqbel | Sprint 3 | coursework CYF-1053 - #1468

Open
Ebrahim-Moqbel wants to merge 27 commits into
CodeYourFuture:mainfrom
Ebrahim-Moqbel:coursework/sprint-3
Open

Ebrahim-Moqbel wants to merge 27 commits into
CodeYourFuture:mainfrom
Ebrahim-Moqbel:coursework/sprint-3

Conversation

@Ebrahim-Moqbel

@Ebrahim-Moqbel Ebrahim-Moqbel commented Sep 4, 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

completed all the requirements and specifications for sprint 3 files

Questions

N/A

@netlify

netlify Bot commented Sep 4, 2026

Copy link
Copy Markdown

Deploy Preview for cyf-onboarding-module ready!

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

2 similar comments
@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@Ebrahim-Moqbel Ebrahim-Moqbel added 📅 Sprint 3 Assigned during Sprint 3 of this module Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. labels Sep 4, 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 4, 2026
@github-actions

This comment has been minimized.

@Ebrahim-Moqbel Ebrahim-Moqbel added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Sep 4, 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 4, 2026
@webmonch webmonch added the Reviewed Volunteer to add when completing a review with trainee action still to take. label Sep 14, 2026
@Ebrahim-Moqbel Ebrahim-Moqbel 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 14, 2026
Comment thread Sprint-3/1-key-errors/0.js Outdated
Comment thread Sprint-3/1-key-errors/1.js Outdated
Comment thread Sprint-3/1-key-errors/2.js
Comment thread Sprint-3/2-mandatory-debug/0.js
Comment thread Sprint-3/3-mandatory-implement/1-bmi.js Outdated
Comment thread Sprint-3/3-mandatory-implement/1-bmi.js Outdated
Comment thread Sprint-3/3-mandatory-implement/1-bmi.js Outdated
Comment thread Sprint-3/3-mandatory-implement/3-to-pounds.js
Comment thread Sprint-3/3-mandatory-implement/3-to-pounds.js Outdated
Comment thread Sprint-3/4-mandatory-interpret/time-format.js Outdated

@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.

selyafi left ten comments on this on 17 September, and they are all still open. The label was left on Needs Review afterwards, so it may not have been obvious that a review had come in.

Have a read through his comments, push your changes, then add the Needs Review label again. I am setting this to Reviewed for now so it is not sitting in the queue as though nobody has looked at it.

Two more while you are in there:

  1. Prettier on your Sprint 3 files, same as on your Sprint 2 PR. Nine of the ten fail the check at the moment.

  2. 1-key-errors/2.js line 17, see my comment.

Add the Needs Review label again when you have pushed.

Comment thread Sprint-3/1-key-errors/2.js
@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 20, 2026
@Ebrahim-Moqbel Ebrahim-Moqbel 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 20, 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.

Good progress, most of selyafi's list is done. Five things still open:

  1. 1-bmi.js: it returns a string now, but try calculateBMI(81, 1.8). See line 19.
  2. 1-key-errors/2.js line 17: the sentence about num is still in the file. You explained it back to me correctly in the thread, it just needs deleting.
  3. 3-to-pounds.js line 1: selyafi asked you to put the original task line back and it is still the changed version.
  4. time-format.js line 40: your explanation underneath is right but the answer on the line above still says 1.
  5. Prettier: nine of the ten files still fail. Same as on your Sprint 2 PR, so worth turning on format on save rather than doing it by hand each time.

Add the Needs Review label again once you have pushed.

function calculateBMI(weight, height) {
// return the BMI of someone based off their weight and height
let result = (weight/(height*height));
result= Number(result.toFixed(1));

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 calculateBMI(81, 1.8). The task asks for a string to one decimal place, and you get "25". What does Number(...) do to "25.0" before String(...) ever sees it? toFixed(1) already hands you a string.

@@ -1,6 +1,27 @@
// In Sprint-1, there is a program written in 3-mandatory-interpret/3-to-pounds.js
// In Sprint-1, there is a program written in interpret/to-pounds.js

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.

Still the edited version. The original line is // In Sprint-1, there is a program written in 3-mandatory-interpret/3-to-pounds.js.


// e) What is the return value of pad when it is called for the last time in this program? Explain your answer
// =============> write your answer here
// =============> 1

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.

What does pad(1) hand back, and what type is it? Your sentence underneath gets there, this line should match it.


console.log(`The result of multiplying 10 and 32 is ${multiply(10, 32)}`);

console.log(multiply(10,32)) No newline at end of file

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.

Leftover from testing, this one can go. Not a blocker.

@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 20, 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.

5 participants