Skip to content
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

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

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

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 Participant to add when requesting review 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 Participant to add when requesting review label Dec 8, 2024
@cjyuan
Copy link

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 Participant to add when requesting review label Dec 10, 2024
@Fatimasfn
Copy link
Author

@cjyuan yes please, I will appreciate a review

Copy link

@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

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

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 and removed Needs Review Participant to add when requesting review 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 Participant to add when work is complete and 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 Participant to add when work is complete and review comments have been addressed Reviewed Volunteer to add when completing a review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants