mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
fix(curriculum): remove dot from player classname in step 48 of music player (#57474)
This commit is contained in:
+1
-1
@@ -7,7 +7,7 @@ dashedName: step-48
|
||||
|
||||
# --description--
|
||||
|
||||
Use `classList` and `remove()` method to remove the `.playing` class from the `playButton`, since the song will be paused at this point.
|
||||
Use `classList` and `remove()` method to remove the `playing` class from the `playButton`, since the song will be paused at this point.
|
||||
|
||||
To finally pause the song, use the `pause()` method on the `audio` variable. `pause()` is a method of the Web Audio API for pausing music files.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user