Race Updates Discord About Merch
Home Profile History Competitions Texts Messages Friends Upgrade

typeracer

Pit Stop

Record your races with a typeracer account:

Create Your Account
  • Save your race history and scores.
  • Customize your profile and racecar.
  • It’s free, why not?
Racer Calculus (uchihalol)
Race Number 9
Date Thu, 1 Nov 2018 18:31:21 +0000
Universe code
Speed 46 WPM Try to beat?
Accuracy 93.8%
Rank 3rd place (out of 3)
Opponents atthetop (2nd place) styrofoam (1st place)

Text typed:

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('<p>' + area + '</p>'); });
Breakpoint (other) by http://www.javascriptbook.com (see stats)

Typing Review:

Race text:
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('<p>' + area + '</p>'); });
Time:
0:00
Speed:
Accuracy:
Typing replay:
Analysis:
Mistakes:
  1. var
  2. $form
  3. $('#calculator');
  4. $('#calculator').on('submit',
  5. console.log('Clicked
  6. submit...');
  7. $('#width').val();
  8. height
  9. $('#height').val();
  10. (width
  11. breakpoint
  12. developer
  13. tools
  14. are
  15. open
  16. $form.append('<p>'
  17. area
  18. '</p>');