Hello! I am wondering if there is a way to add a ‘touchstart’ event listener to the Etch-A-Sketch program so that it can be used on touch screens. I tried adding one by replacing ‘mouseover’ with ‘touchstart’ but didn’t see the desired result. Are there more steps to setting this up?
Secondly, I cannot seem to center my grid container on the page. I’ve tried the following on the element:
which work for the buttons but not the grid container.
My project is here: https://github.com/jolisabeth/Etch-a-Sketch
Thank you for your help!