mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-09-24 23:01:18 +08:00
fix(curriculum): recipe tracker missing requirement for step 9 (#57843)
This commit is contained in:
+1
-1
@@ -9,7 +9,7 @@ dashedName: step-9
|
||||
|
||||
Create a `getDifficultyLevel` function that takes `cookingTime` as a parameter.
|
||||
|
||||
If `cookingTime` is less than `30`, the function should return `"easy"`. If it is less than or equal to `60`, the function should return `"medium"`. Otherwise, the function should return `"hard"`.
|
||||
If `cookingTime` is less than or equal to `30`, the function should return `"easy"`. If it is less than or equal to `60`, the function should return `"medium"`. Otherwise, the function should return `"hard"`.
|
||||
|
||||
# --hints--
|
||||
|
||||
|
||||
Reference in New Issue
Block a user