Skip to content

WM4 | FATIMA_SAFANA | Module-Structuring-and-Testing-Data | WEEK5#220

Closed
Fatimasfn wants to merge 12 commits intoCodeYourFuture:mainfrom
Fatimasfn:SPRINT-2
Closed

WM4 | FATIMA_SAFANA | Module-Structuring-and-Testing-Data | WEEK5#220
Fatimasfn wants to merge 12 commits intoCodeYourFuture:mainfrom
Fatimasfn:SPRINT-2

Conversation

@Fatimasfn
Copy link

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 COHORT_NAME | FIRST_NAME LAST_NAME | REPO_NAME | WEEK
  • 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.

@Fatimasfn Fatimasfn added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Dec 7, 2024
@Fatimasfn Fatimasfn changed the title WM4 | FATIMA_SAFANA | Module-Structuring-and-Testing-Data | WEEK2 WM4 | FATIMA_SAFANA | Module-Structuring-and-Testing-Data | WEEK5 Dec 7, 2024
@codrex codrex self-requested a review December 7, 2024 21:40
@loveth900 loveth900 removed the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Dec 8, 2024
@cjyuan
Copy link
Contributor

cjyuan commented Dec 10, 2024

@Fatimasfn Does this Sprint 2 PR need review?

@loveth900 May I know why you removed the "Needs Review" label from this PR?

@Fatimasfn Fatimasfn added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Dec 10, 2024
@Fatimasfn
Copy link
Author

@cjyuan yes please, I will appreciate a review

Copy link
Contributor

@cjyuan cjyuan left a comment

Choose a reason for hiding this comment

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

Code is good.

const decimalNumber = 0.5;
const percentage = `${decimalNumber * 100}%`;
//const decimalNumber = 0.5;
return percentage = `${decimalNumber * 100}%`;
Copy link
Contributor

Choose a reason for hiding this comment

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

What is percentage? Do you need it?

const vat = 0.2;
const priceWithoutPoundSign = Number(price.substring(1));
return `£${(vat * priceWithoutPoundSign) + priceWithoutPoundSign}`;
}
Copy link
Contributor

Choose a reason for hiding this comment

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

The spec is a bit vague, but I think it will probably make more sense for this function to deal with a number directly and return a number.

But what's matter is that you know how to implement a function. So no change is necessary.

@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 Dec 10, 2024
@codrex codrex removed their request for review December 10, 2024 19:28
@Fatimasfn
Copy link
Author

@cjyuan Thank you for the review, I really appreciate it .

@Fatimasfn Fatimasfn added the Complete Volunteer to add when work is complete and all review comments have been addressed. label Dec 11, 2024
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. 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.

4 participants