Skip to content

Conversation

@sabafarjamfard
Copy link

@sabafarjamfard sabafarjamfard commented Feb 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 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.

@sabafarjamfard sabafarjamfard added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Feb 4, 2025
@halilibrahimcelik halilibrahimcelik self-requested a review February 5, 2025 10:01
@halilibrahimcelik halilibrahimcelik 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 Feb 5, 2025
} No newline at end of file
const bmi = weight / (height * height);
// return the BMI of someone based off their weight and height
return parseFloat(bmi.toFixed(1));

Choose a reason for hiding this comment

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

Well done, you can even enhance this fn by also returning result about people's bmi . Consider this as a challenge and if you have time go for it.
image

let formattedHours = hours;

if (hours === 0) {
formattedHours = 12; // Midnight case

Choose a reason for hiding this comment

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

Well done, you checked all possible scenarios and wrote clean code.

@sabafarjamfard sabafarjamfard added Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. and removed Review in progress This review is currently being reviewed. This label will be replaced by "Reviewed" soon. labels Feb 5, 2025
@halilibrahimcelik halilibrahimcelik 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 Feb 5, 2025
@halilibrahimcelik
Copy link

Thank you, you can close this PR

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

3 participants