JSFiddle - React, Tailwind, and code Playground

by ayyadurai

HTML

<script>
    function click1(){
       var x=0; 
       while (x <= 1000); {
       alert ("Click 1000 times..." + x);
       x++
    }
    }
    </script>

<button onclick="click1()">CLICK ME!</button>