1
Well I’m trying to make a toggle button, but I’m in trouble the button I want needs a class to style in css.
button class="button button1">Shadow Button</button
, but the toggle button code I picked 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
I don’t understand, why don’t you add the onclick beyond the classes?
– bfavaretto
button class="button button1" onclick="myFunction()">Shadow Button</button
– Felipe
would look like this??
– Felipe