Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Calculator
- Using the HTML, CSS and JS create a single page which will contains a calculator looking similar to the one that you have on your windows. (with some input, buttons, result).
- ## Requirements:
- ### .v1
- - Responsive design
- - Can sum two numbers
- - Will display result on the top of the page
- ### .v2
- - Can perform simple arithmetic operations (sum, sub, multiply, divide)
- - Can be used with mouse only - It requires numbers (0-9) created as a button
- ### .v3
- - Can see what numbers and operations you are performing (on button click it will display this number/operation on the display)
- ### .v4
- - Can cancel last operation
- - Can store the numbers in the memory (localstorage) - it prevents from loosing data on page refresh
- ### .v5
- - Rewrite it in react.js
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement