Build a Drum Machine - user story #7

Tell us what’s happening:
Hello

I am stuck on “Build a Drum Machine” user story #7. The app is able to display sound name but I am unable to pass the test case.

Your code so far

Link to GitHub repository:
https://github.com/DivyanshSareen/DrumBeta

Link to website:
https://focused-almeida-6c3aaa.netlify.app/

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36.

Challenge: Build a Drum Machine

Hey,

I dont know if it’s the issue, but there’s a user story #2

Within #drum-machine I can see an element with corresponding id=“display”.

The test is passed, but your app structure is different

2 Likes

Thanks mate, I knew I was doing something silly. :sweat_smile:

Hey Annestezia, in addition to what you suggested I found another mistake.
The inner text of display was supposed to change on button click while I was changing it on audio play.

1 Like

Hey, Divyansh!

Well done! :+1:
I thougth there could be more, and hoped you’d want to solve it yourself :wink:

1 Like