mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-06-19 21:09:51 +08:00
fix(curriculum): clarify instructions (#54404)
This commit is contained in:
parent
b7c903b434
commit
ead58e878a
@ -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.
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user