Posts

Showing posts from May, 2023
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(...
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 { ...
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
Calculator 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:
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;
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
C ( ) 7 8 9 4 5 6 1 2 3 ± 0 . % x ! x^ * / ln e + x² log cos - √ sin tan = π ∘ rad x³ x⁻¹ 10ˣ eˣ x! sin⁻¹ cos⁻¹ tan⁻¹ log₂
C ( ) 7 8 9 4 5 6 1 2 3 ± 0 . % x ! x^ * / ln e + x² log cos - √ sin tan = π ∘ rad .calculator { max-width: 530px; background-color: beige; padding: 20px; border-radius: 10px; margin: 10px auto; } input[type=text] { width: 315px; height: 25px; border-radius: 5px; border: 0px; background-color: #333333; color: #d9d9d9; padding: 0 5px 0 5px; margin: 0 0px 10px 84px; } .calc-buttons { display: flex; flex-wrap: wrap; justify-content: space-between; } .button { margin: 3px; width: 63px; border: none; height: 25px; border-radius: 4px; color: #000000; cursor: pointer; } button:hover { background-color: hsla(180, 100%, 40%, 0.3); transition: 0.
C ( ) 7 8 9 4 5 6 1 2 3 ± 0 . % x ! x^ * / ln e + x ² log cos - √ sin tan = π ∘ rad .calculator { max-width: 530px; background-color: beige; padding: 20px; border-radius: 10px; margin: 10px auto; } input[type=text] { width: 315px; height: 25px; border-radius: 5px; border: 0px; background-color: #333333; color: #d9d9d9; padding: 0 5px 0 5px; margin: 0 0px 10px 84px; } .calc-buttons { display: flex; flex-wrap: wrap; justify-content: space-between; } .button { margin: 3px; width: 63px; border: none; height: 25px; border-radius: 4px; color: #000000; cursor: pointer; } button:hover { background-color: hsla(180, 100%, 40%, 0.3); transition: .2s; } .functions-one { width: 210px; display: flex; flex-wrap: wrap; justify-content: sp...
Scientific Calculator