Update Step 79 & 80 of Building a Platformer Game #54540
Labels
help wanted
Open for all. You do not need permission to work on these.
new javascript course
These are for issues dealing with the new JS curriculum
scope: curriculum
Lessons, Challenges, Projects and other Curricular Content in curriculum directory.
type: bug
Issues that need priority attention. Platform, Curriculum tests (if broken completely), etc.
Describe the Issue
Implicitly returning the callback passed into
.forEach()
won't pass the test.Affected Page
https://www.freecodecamp.org/learn/javascript-algorithms-and-data-structures-v8/learn-intermediate-oop-by-building-a-platformer-game/step-79
Your code
Expected behavior
This should pass at least for this step, and the following step as well.
I found out later that curly brackets are missed here.
The hint/error message is also not helpful here because the code provided above does exactly what the hint asks campers to do.
I suggest adding "Please use curly brackets for the callback for this step" or modifying the corresponding test.
Screenshots
System
Additional context
No response
The text was updated successfully, but these errors were encountered: