I'm trying to make a toggle button, but I have a problem the button I want needs a class to stylize in css.
button class="button button1">Shadow Button</button
, but the toggle button code I got uses a type on the button
button onclick="myFunction()">Try it</button
How do I call this onClick on this button with class:
button class="button button1">Shadow Button</button