mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-03-04 17:01:16 -05:00
fix(curriculum): modify description in Recipe Tracker workshop (#60886)
Co-authored-by: Ilenia <26656284+ilenia-magoni@users.noreply.github.com>
This commit is contained in:
@@ -7,7 +7,7 @@ dashedName: step-7
|
||||
|
||||
# --description--
|
||||
|
||||
Now, you should work on calculating the `averageRating`, `totalIngredients`, and the `difficultyLevel` for each recipe in the `recipes` array.
|
||||
In the next few steps you will work on calculating the average rating, the total ingredients, and the difficulty level for each recipe in the `recipes` array.
|
||||
|
||||
Start by creating a `getAverageRating` function that takes a single argument, which is an array with ratings. Inside the function, calculate the average rating from the array passed to the function.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user