Build a Drum Machine - Build a Drum Machine test 8

Tell us what’s happening:

After testing my code everything works as instructed. When i press a key on the keyboard the corresponding sound plays and the display is updated. But for some reason the code keeps failing test 8 even when it works properly.

Your code so far

<!-- file: index.html -->

/* file: script.js */

/* file: styles.css */

Your browser information:

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

Challenge Information:

Build a Drum Machine - Build a Drum Machine

Please update the message to include your code. The code was too long to be automatically inserted by the help button.

When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (').

1 Like