Calculator C ( ) 7 8 9 4 5 6 1 2 3 0 . = + - * / .calculator { max-width: 300px; background-color: #f1f1f1; border-radius: 10px; padding: 20px; margin: 0 auto; } input[type="text"] { width: 100%; height: 50px; font-size: 24px; text-align: right; padding: 5px; border: none; border-radius: 5px; } .buttons { margin-top: 10px; display: grid; grid-template-columns: repeat(4, 1fr); grid-gap: 10px; } button { width: 100%; height: 50px; font-size: 18px; background-color: #fff; border: none; border-radius: 5px; cursor: pointer; } function appendToScreen(value) { document.getElementById("screen").value += value; } function calculate() { var result; try { result = eval(document.getElementById("screen").value); document.getElementById(...
Posts
- Get link
- X
- Other Apps
screen clear _ + 7 8 9 / 4 5 6 x 1 2 3 = 0 . .calculator { width: 408px; height: 837px; margin: 10px auto; position: relative; color: #fff; font-size: 3em; } .screen-item { position: absolute; width: 352px; height: 90px; line-height: 90px; background: #ff7f24; border: 1px solid #fff; top: 0px; left: 28px; text-align: right; } .screen-item span { position: absolute; top: 50%; left: 50%; transform: translateX(-50%) translateY(-50%); } .screen-item .error { color: #f00; border: 1px solid; /* padding: 10px 60px; */ border-radius: 5px; display: block; width: 73%; font-size: 1em; text-align: center; font-weight: bold; background: #fff; font-size: 0.8em; padding: 20px 11px; line-height: 1.2; } .touche__box { position: relative; top: 91px; left: 27px; } .touche__box span { ...
- Get link
- X
- Other Apps
Calculator ( ) 7 8 9 ÷ 4 5 6 x 1 2 3 - 0 . = + C ⌫ √ x² sin cos tan log e^x .calculator { max-width: 300px; background-color: black; border-radius: 10px; padding: 20px; margin: 0 auto; } input[type="text"] { width: 100%; height: 50px; font-size: 24px; text-align: right; padding: 5px; border: none; border-radius: 5px; background-color: #333; color: #fff; } .calc-buttons { margin-top: 10px; } .button-row
- Get link
- X
- Other Apps
C ( ) 7 8 9 4 5 6 1 2 3 ± 0 . ⌫ % x! x^ x ÷ log e + x² ln cos - √ sin tan = .calculator { max-width: 300px; background-color: #f2f2f2; border-radius: 10px; padding: 20px; margin: 0 auto; } input[type="text"] { width: 100%; height: 40px; font-size: 18px; border-radius: 5px; border: none; background-color: #eee; padding: 5px; text-align: right;
- Get link
- X
- Other Apps
C ( ) 7 8 9 4 5 6 1 2 3 ± 0 . ⌫ % x! x^ x ÷ log e + x² ln cos - √ sin tan = .calculator { max-width: 300px; background-color: #f2f2f2; border-radius: 10px; padding: 20px; margin: 0 auto; } input[type="text"] { width: 100%; height: 40px; font-size: 18px; border-radius: 5px; border: none; background-color: #eee; padding: 5px; text-align: right; margin-bottom: 10px