Hello. I put a lot of effort into this exercise and tried to write “the correct structure” using React and Bootstrap. It seems the tests were written with vanilla JS in mind and I can see how to pass them that way. But even ignoring more elegant React functionalities and using things like JS event listeners and useRef, tests 6 and 7 fail, even though the app does what is requested. I tried everything to make it pass for days. So:
- Can anybody take a look at my code and tell me if there is some obvious error I didn’t notice?
- My app works. It fulfills all user stories. Is it worth trying to pass the tests?
Repository: GitHub - getuliosilva/fcc-drum-machine: freeCodeCamp build a drum machine exercise
Deployed app: Drum Machine