Drum Machine error 4,5 and 6 not passing

Tell us what’s happening:
hello I have been working on the drum machine, so far I see that everything is working properly but for some reason is not passing 4,5 and 6.

Any help is welcome thanks…

Project Link

Your code so far

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Firefox/91.0

Challenge: Build a Drum Machine

Link to the challenge:

The first is just the letter casing of the ids I think (should be uppercase).

As for the keyboard part, that doesn’t seem to be working as intended. Try pressing the keys without first clicking the buttons (i.e. giving focus). Edit: one option is to just add a keypress event listener to the document instead.

1 Like

I was thinking about that before, I will try that and update later on thanks.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.