Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 153 - 2615_KEC
P. 153

    o  Subtraction Button

                          o  Division Button

                          o  Multiplication Button

                       C. Add a Clear Button:

                          o  Reset the display and all variables:

                     Step  4   Test the Calculator

                       Run the app and check that:

                       o  Numbers appear on the display.

                       o  Operators perform correct calculations.

                       o  The clear button resets the display.
                       Debug any issues by reviewing event listeners and variables.

                                                                              Working with Variables and Conditional Logic  151

| 148 149 150 151 152 153 154 155 156 157 158 |