Hey, My 5th Test is failing When I click on a .drum-pad element, the audio clip contained in its child <audio> element should be triggered
.
My
Here is my code:
<div id={"drum-pad-container"}>
<button
onClick={(e) => handleKey(e)}
value={"Heater1"}
className={"drum-pad btn-floating btn-large green"}
id={"heater1"}
>
<audio
className={"clip"}
id={"Q"}
src="https://s3.amazonaws.com/freecodecamp/drums/Heater-1.mp3"
></audio>
Q
</button>
<button
onClick={(e) => handleKey(e)}
value={"Heater2"}
className={"drum-pad btn-floating btn-large green"}
id={"heater2"}
>
<audio
className={"clip"}
id={"W"}
src="https://s3.amazonaws.com/freecodecamp/drums/Heater-2.mp3"
></audio>
W
</button>
I have other tests that arent passing, but Im starting with this one. Thank you