From f2272cf1d45694ba7604f4f2b3d8c0aabdd56caf Mon Sep 17 00:00:00 2001 From: LEGALISE_PIRACY Date: Mon, 11 Mar 2024 20:07:11 +0000 Subject: [PATCH] Update sppa/calc/index.html --- sppa/calc/index.html | 189 +++++++++++++++++++++++++------------------ 1 file changed, 110 insertions(+), 79 deletions(-) diff --git a/sppa/calc/index.html b/sppa/calc/index.html index 83975a40..6e7d5b93 100644 --- a/sppa/calc/index.html +++ b/sppa/calc/index.html @@ -1,88 +1,119 @@ + - - - calc - - - + + + Calculator + + + + + + + + -
-

calc

- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - function calculate() { - try { - document.getElementById('display').value = eval(document.getElementById('display').value); - } catch (error) { - document.getElementById('display').value = 'Error'; - } - } - - function clearDisplay() { - document.getElementById('display').value = ''; - } +
+
+
+ +

Calculator

+
+ + Sun Icon + +
+
+
+ + +
+
+ + + + +
+
+ + + + +
+
+ + + + +
+
+ + + + +
+
+
+ -
- + + \ No newline at end of file