I need to pass the last test: 7. When a .drum-pad is triggered, a string describing the associated audio clip is displayed as the inner text of the #display element (each string must be unique).
I manged to display the description of the sound. However, there are a few problems.
- The test are not passing.
- Triggering a sound creates a description under the letters and does not delete the old description. My vision is to have a separate section that displays the description like in the example https://codepen.io/freeCodeCamp/pen/MJyNMd.
Here is my Code: