var $form, width, height, area; $form = $('#calculator'); $('#calculator').on('submit', function(e) { e.preventDefault(); console.log('Clicked submit...'); width = $('#width').val(); height = $('#height').val(); area = (width * height); if (area < 100) { debugger; // A breakpoint is set if the developer tools are open } $form.append('
' + area + '
'); });Game | Time | WPM | Accuracy |
---|---|---|---|
82 | 2018-12-10 03:08:47 | 33.44 | 96% |