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 because we are going to be using a different template.
We recommend opening the react-hello
template, using a provisioning tool like Codespaces (recommended) or Gitpod. Alternatively, you can clone the GitHub repository on your local computer using the git clone
command.
This is the repository you need to open or clone:
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