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:
Supravisor
2025-06-18 05:21:58 +12:00
committed by GitHub
parent ec764ef7cb
commit bb552574f6

View File

@@ -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.