mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-09-24 23:01:18 +08:00
fix(curriculum): clarify instructions (#54404)
This commit is contained in:
+1
-1
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user