// Back-end

// Front-end
$(document).ready (function() {

  $('#start').click(function (event) { 
    event.preventDefault();
    
    var min = 0;
    var sec = 30;

    var myVar = setInterval( function() { countDownTimer() } ,500 );

    function countDownTimer() {

    var displayCountdown = $('.timer').text( min +" : " + sec );
    sec--;
    if(sec === -1) {
       clearInterval(myVar);
    };
    // displayCountdown;
    };

    // countDownTimer();
    console.log('I am groot');
    console.log(countDownTimer());
  });
});
Add event listener for start button Add a click event listener to the start button that displays a countdown when the start button is clicked
Add event listener for start button
Add a click event listener to the start button that displays a countdown when the start button is clicked
