Skip to content

Latest commit

 

History

History
18 lines (11 loc) · 755 Bytes

debugging-2-guided.md

File metadata and controls

18 lines (11 loc) · 755 Bytes

Fix the calculator

In this task, you'll fix a problem with this web-based calculator

Broken Calculator

Here are the reproduction steps for the problem:

  • Click the "1" key
  • Click the "+" key
  • Click the "9" key
  • The number 9 should appear in the calculator's display, but it does not.

To find and fix this defect, you'll use this debugging strategy:

Open the debugging strategy in a new tab

Follow the strategy using the strategy execution tool to find and fix the following failure. You have up to 25 minutes. When you believe you've found the best fix, tell the experimenter which text on which line of code you changed (e.g., line 27, replace "hello" with "goodbye").