Skip to content

Sheffield | 26-Jan-ITP | Karim Mhamdi | Sprint 2 | Coursework/sprint-2#1204

Open
KKtech06 wants to merge 3 commits intoCodeYourFuture:mainfrom
KKtech06:coursework/Sprint-2
Open

Sheffield | 26-Jan-ITP | Karim Mhamdi | Sprint 2 | Coursework/sprint-2#1204
KKtech06 wants to merge 3 commits intoCodeYourFuture:mainfrom
KKtech06:coursework/Sprint-2

Conversation

@KKtech06
Copy link

@KKtech06 KKtech06 commented Mar 6, 2026

Learners, PR Template

Self checklist

  • [ X ] I have titled my PR with Region | Cohort | FirstName LastName | Sprint | Assignment Title
  • [ X ] My changes meet the requirements of the task
  • [ X ] I have tested my changes
  • [ X ] My changes follow the style guide

Changelist

I have completed all the tasks in Sprint-2 and I have created a Coursework/Sprint-2 branch

Questions

N/A

@KKtech06 KKtech06 added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Mar 6, 2026
Comment on lines +8 to +10
function toPounds(pence) {
return "£" + (pence / 100).toFixed(2);
}
Copy link
Contributor

Choose a reason for hiding this comment

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

The code in Sprint-1 takes as "input" a pence string in the form "123p" instead of a number 123. Can you update your function to match that behavior?

Copy link
Author

Choose a reason for hiding this comment

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

Thank you for spotting the error CJ I have fixed it and hopefully now the function matches the behaviour :)

@cjyuan cjyuan 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 Mar 7, 2026
@KKtech06 KKtech06 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 Mar 8, 2026
@cjyuan
Copy link
Contributor

cjyuan commented Mar 8, 2026

Changes look good. Well done.

@cjyuan cjyuan 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 Mar 8, 2026
@cjyuan
Copy link
Contributor

cjyuan commented Mar 8, 2026

Can you update the Markdown in the PR description to make the checkboxes look like this:

  • 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

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