The calculator function also needs to be further improved, and the output and calculation function interface are gradually implemented one by one
html adds layer to display calculation results
css files add styling and positioning
The browser displays the calculation result display layer
html code to add, subtract, multiply and divide function keys
This article illegal climbing is taken from experience
html pages now display several commonly used function keys for computation
Add an equal sign to your html code
The css code defines the equal sign position
The browser displays the equal sign
When adding a symbol for each point calculation, the box can be displayed in real time. This box should be a little larger, because the calculation is sometimes long, and many calculators on the market have too small a box. When I was doing accounting, sometimes I would calculate the numbers of dozens of pens and add them, and often the calculator display was not enough
html added to show the calculation process layer
css code increases the position and style of the calculation process
The browser can now display the calculation process display box