This was my playground to try out some of the DOM elements available. I am yet to add other elements and functionality like recording sound!
The Div that i called to in the sketch seems to be wrong cause it was meant to change the color of the background and not that of the button!!
The capture button works only if it is opened with https:// , I don't know how iframes work so maybe it won't pop up on this blog! Also, the capture video was running throughout the sketch instead of just when the button was clicked! something about an if statement in the draw() function did not resonate with my logic :(
Hopefully, when exploring p5 sound the change music button works!!