Skip to content

West Midlands | MAY | EMIN AKTURK | Sprint 2 | MODULE-STRUCTURING-AND-TESTING-DATA #691

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 31 commits into
base: main
Choose a base branch
from

Conversation

eminakturk
Copy link

@eminakturk eminakturk commented Aug 4, 2025

Learners, PR Template

Self checklist

  • I have committed my files one by one, on purpose, and for a reason
  • I have titled my PR with Region | Cohort | FirstName LastName | Sprint | Assignment Title
  • I have tested my changes
  • My changes follow the style guide
  • My changes meet the requirements of this task

Changelist

Briefly explain your PR.

Questions

Ask any questions you have for your reviewer.

@eminakturk eminakturk added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Aug 4, 2025
@MattGoodwin0 MattGoodwin0 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 Aug 5, 2025
@MattGoodwin0
Copy link

It looks like the two new PRs still has the Sprint 1 files - let me know if you want to jump on a call to run through the GIT side

@eminakturk
Copy link
Author

I have sent a DM on slack.

@eminakturk eminakturk changed the title Emin Akturk | West Midlands | MAY | Module-Structuring-data | Sprint 2 Emin Akturk | West Midlands | MAY | Sprint 2 | Module-Structuring-data Aug 13, 2025
Copy link

@MattGoodwin0 MattGoodwin0 left a comment

Choose a reason for hiding this comment

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

Overall very strong submission - a couple of comments to take a look over.

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

function capitalise(str) {
let capitalisedStr = `${str[0].toUpperCase()}${str.slice(1)}`;

Choose a reason for hiding this comment

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

This is good! I'll won't pull it as a review comment as the template code declared the variable with let. However, if you are not re-assigning a variable we should be using const.

return a + b;
}

console.log(`The sum of 45 and 12 is ${sum(45, 12)}`); // Output: "The sum of 10 and 32 is 42"

Choose a reason for hiding this comment

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

Is this the output returned by the function?

return `${pounds}.${pence}`;
}

console.log(`The amount in pounds is ${toPounds("10000000")}`);

Choose a reason for hiding this comment

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

What does this output?

Just be careful with formatting too - is there anything that could be improved?


// c) What is the return value of pad is called for the first time?
// =============> write your answer here
// =============> would be 00.

// d) What is the value assigned to num when pad is called for the last time in this program? Explain your answer
// =============> write your answer here

Choose a reason for hiding this comment

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

What's your answer for d)

@MattGoodwin0 MattGoodwin0 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. Review in progress This review is currently being reviewed. This label will be replaced by "Reviewed" soon. labels Aug 14, 2025
@eminakturk eminakturk added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Aug 20, 2025
Copy link

Your PR's title didn't contain a known region.

Please check the expected title format, and make sure your region is in the correct place and spelled correctly.

@eminakturk eminakturk changed the title Emin Akturk | West Midlands | MAY | Sprint 2 | Module-Structuring-data Emin Akturk | West Midlands UK | MAY | Sprint 2 | Module-Structuring-data Aug 20, 2025
@eminakturk eminakturk changed the title Emin Akturk | West Midlands UK | MAY | Sprint 2 | Module-Structuring-data Emin Akturk | Birmingham | MAY | Sprint 2 | Module-Structuring-data Aug 20, 2025
Copy link

Your PR's title didn't contain a known region.

Please check the expected title format, and make sure your region is in the correct place and spelled correctly.

1 similar comment
Copy link

Your PR's title didn't contain a known region.

Please check the expected title format, and make sure your region is in the correct place and spelled correctly.

@eminakturk eminakturk changed the title Emin Akturk | Birmingham | MAY | Sprint 2 | Module-Structuring-data West Midlands | MAY | EMIN AKTURK | MODULE-STRUCTURING-AND-TESTING-DATA | SPRINT 2 Aug 20, 2025
Copy link

Your PR's title isn't in the expected format.

Please check the expected title format, and update yours to match.

Reason: Sprint part (MODULE-STRUCTURING-AND-TESTING-DATA) doesn't match expected format (example: 'Sprint 2', without quotes)

@eminakturk eminakturk changed the title West Midlands | MAY | EMIN AKTURK | MODULE-STRUCTURING-AND-TESTING-DATA | SPRINT 2 West Midlands | MAY | EMIN AKTURK | MODULE-STRUCTURING-AND-TESTING-DATA | SPRINT-2 Aug 20, 2025
Copy link

Your PR's title isn't in the expected format.

Please check the expected title format, and update yours to match.

Reason: Sprint part (MODULE-STRUCTURING-AND-TESTING-DATA) doesn't match expected format (example: 'Sprint 2', without quotes)

@eminakturk eminakturk changed the title West Midlands | MAY | EMIN AKTURK | MODULE-STRUCTURING-AND-TESTING-DATA | SPRINT-2 EMIN AKTURK | BIRMINGHAM | MAY | Sprint 2 | MODULE-STRUCTURING-AND-TESTING-DATA Aug 20, 2025
Copy link

Your PR's title didn't contain a known region.

Please check the expected title format, and make sure your region is in the correct place and spelled correctly.

@eminakturk eminakturk changed the title EMIN AKTURK | BIRMINGHAM | MAY | Sprint 2 | MODULE-STRUCTURING-AND-TESTING-DATA EMIN AKTURK | BIRMINGHAM | MODULE-STRUCTURING-AND-TESTING-DATA - SPRINT 2 Aug 20, 2025
Copy link

Your PR's title isn't in the expected format.

Please check the expected title format, and update yours to match.

Reason: Wrong number of parts separated by |s

@eminakturk eminakturk changed the title EMIN AKTURK | BIRMINGHAM | MODULE-STRUCTURING-AND-TESTING-DATA - SPRINT 2 West Midlands | MAY | EMIN AKTURK | MODULE-STRUCTURING-AND-TESTING-DATA | Sprint 2 Aug 20, 2025
Copy link

Your PR's title isn't in the expected format.

Please check the expected title format, and update yours to match.

Reason: Sprint part (MODULE-STRUCTURING-AND-TESTING-DATA) doesn't match expected format (example: 'Sprint 2', without quotes)

@eminakturk eminakturk changed the title West Midlands | MAY | EMIN AKTURK | MODULE-STRUCTURING-AND-TESTING-DATA | Sprint 2 West Midlands | MAY | EMIN AKTURK | Sprint 2 | MODULE-STRUCTURING-AND-TESTING-DATA Aug 20, 2025
Copy link

@MattGoodwin0 MattGoodwin0 left a comment

Choose a reason for hiding this comment

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

Thank you for resolving those previous comments. This is a great submission and you've done a great job understanding the topics in Sprint 2!

Well done

@MattGoodwin0 MattGoodwin0 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. Reviewed Volunteer to add when completing a review with trainee action still to take. labels Aug 20, 2025
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