- We will create the basic layout i.e. two divs (left and right) inside one div tag. In the left div we will write some text and in the right div we will place play or pause image. We will also create a basic nav-bar and float in the right.
- With the help of CSS, we will beautify our overall structure by giving background image, padding, margin etc.
- When user will play the music we will show play image or icon and when user presses pause pause image or icon will be displayed. This is done using simple if-else statement.