Demo of JavaScript-powered Button Elements


This button does nothing. It has no js.
Runs the function inside the script tags found at the bottom of this html file.
This button uses the selector property to change the body background.
Append an emoji:
uses querySelectAll() to change all matching elements.

Partially styled in CSS
Click me! Buttons can be made from other elements too. Hover and click this fancy anchor tag