Build a Drum Machine User Story #5 and #6

Hi guys, I need help for this project.
My Code Pen
I Got everthing and the audio is playing perfectly but the pass wouldn’t pass. Is there anything that i did wrong?
Currently for this project i used

  • JS
  • HTML
  • SCSS
  • jQuery
  • Bootstrap

Extra question:
I just learn the [Front End Development Libraries] and i realised that a lot of them is outdated and I’m still really bad at React. Is there any updated version?

1 Like
  1. You can’t use the Audio constructor. You have to use the audio elements (call play on the actual HTML audio elements).

  2. Log out e.key inside your key handler and run the tests (ignore the DOMException). Notice something different?

1 Like

Thank you so much,
after changing the way to access audio through HTML & making the e.key available for both upper and lower case the test finally passed :smile: