JSFiddle - React, Tailwind, and code Playground
by 3rror404
JavaScript
var counter = 0;
function start (argument){
alert("Starting Quiz!");
var time = setInterval( timer(), 1000);
}
function timer(){
console.log("Time: " + counter + " seconds");
}
start();