Let's create a MP3 player that works similar to Spotify .
The buttons should always remain at the bottom of the viewport (use position fixed for that). You only need to implement the Play, Pause, Next and previous buttons.
Do not clone this repository.
The first step to start coding is cloning the react.js boilerplate on your local computer or opening it using gitpod.
a) If using Gitpod (recommended) you can clone the boilerplate by clicking here.
b) If working locally type the following command from your command line:
1$ git clone https://github.com/4GeeksAcademy/react-hello
π‘ Important: Remember to create a new repository, update the remote (git remote set-url origin <your new url>
), and upload the code to your new repository using add
, commit
and push
.
<audio>
tag on the entire project, use ref
to change its src url.The following features are not needed for the final solution, but you can develop them if you feel confident enough:
+1
Implement implement volume control: two buttons, one to rise and one to lower the volume.+1
Repeat mode button: when activated, the current song will repeat forever until deativated.+2
Shuffle functionality: the songs will play randomly instead of in order.+5
Implement slider timeline: The slider will move with the song accordingly, if clicked the song will jump to that time.In order to prepare better for completing this exercises, we suggest the following materials