Take a look at this horrid button in CSS. Click on it.
<button style="padding:0;border:0;background:transparent;outline:0;font-size: 100px" onclick="if(this.innerText=='π²'){this.innerText='π³'}else {this.innerText='π²'}">π²</button>
The purpose of this post is to let you know that you can use emojis in JavaScript, CSS, and HTML.
Top comments (0)