Skip to content

Commit 4b0ac10

Browse files
fix(curriculum): correct golf score user story (freeCodeCamp#61927)
1 parent 1cca628 commit 4b0ac10

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

curriculum/challenges/english/25-front-end-development/lab-golf-score-translator/689f7996426c1534fa5bea66.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,15 @@ In this lab, you will write a function that converts the `par` and `strokes` to
1616
**User Stories:**
1717

1818
1. You should create a function named `golfScore`.
19-
1. `golfScore` should take two numeric arguments, which are the par for the course and the amount of strokes made
19+
1. `golfScore` should take two numeric arguments, which are the par for the course and the amount of strokes made.
2020
1. `golfScore` should return a string.
21-
1. `golfScore` should `"Hole-in-one!"` if `strokes` is `1`.
21+
1. `golfScore` should return `"Hole-in-one!"` if `strokes` is `1`.
2222
1. `golfScore` should return `"Eagle"` if `strokes` is less than or equal to `par` minus `2`.
2323
1. `golfScore` should return `"Birdie"` if `strokes` is equal to `par` minus `1`.
24-
1. `golfScore` should return `"Par"` if `strokes` is equal to `par`
24+
1. `golfScore` should return `"Par"` if `strokes` is equal to `par`.
2525
1. `golfScore` should return `"Bogey"` if `strokes` is equal to `par` plus `1`.
2626
1. `golfScore` should return `"Double Bogey"` if `strokes` is equal to `par` plus `2`.
27-
1. `golfScore` should return `"Go Home!"` if `strokes` is greater than `par` plus `3`.
27+
1. `golfScore` should return `"Go Home!"` if `strokes` is greater than or equal to `par` plus `3`.
2828

2929
# --hints--
3030

0 commit comments

Comments
 (0)