Hi all
I thought I would share my Front End Drum Machine with the community. From a UI perspective it isn’t the best example even though it passes all of the tests, any advice on this would be appreciated.
I wanted to share this as I have a implemented it using react-bootstrap which I haven’t seen in a lot of projects here. I have encountered a couple of problems with this approach and I was wondering if anyone has had similar experiences .
I implemented the drum machine as a modal. The first issue is that the FCC test script hamburger menu doesn’t work if the modal show attribute is set to true, however I need this set to true as I want the modal to appear when the page loads, I see this when I run this locally and on codesandbox.io. I can solve this by removing this attribute (show={true}
) from the code and reloading the page, selecting the drum machine test from the menu, and then adding show={true}
back to the code. Now when the page next reloads the hamburger menu stops working again, but as the drum machine option is selected the tests can be run.
Another issue is that when the drum pad is in mobile mode the letters don’t sit right within the buttons, I spent a long time trying to resolve this but it feels to me that this is a react-bootstrap issue.
Besides these issues any feedback on any aspect of my drum machine is welcome.
Many thanks,
Craig.