JSFiddle - React, Tailwind, and code Playground

by Cotten

HTML

<script src="https://raw.github.com/alexblack/google-fastbutton/master/google.fastbutton.js"></script>
<div id="a">First click me</div>

<div id="b">Then, click here and nothing should happen.</div>

<div id="c">But it does :(</div>

CSS

div { height: 50px; width: 200px; }

#a { background-color: lime; }
#b { background-color: red; }
#c { background-color: blue; }

JavaScript

var a = new FastButton(document.getElementById('a'), function() {
     alert('click');
   });