fix(curriculum): clarify instructions (#54404)

This commit is contained in:
Lasse Jørgensen 2024-04-16 06:45:34 +02:00 committed by GitHub
parent b7c903b434
commit ead58e878a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -9,7 +9,7 @@ dashedName: step-40
You need to update the current song being played as well as the appearance of the `playButton` element.
Start by accessing the `userData` object and its `currentSong` property. Set its value equal to the `song` variable.
Assign `song` to the `currentSong` property on the `userData` object.
*Note*: You should not use the optional chaining operator `?.` in this step because `userData.currentSong` will not be `null` or `undefined` at this point.