Removed horse.mp3, Changed calculator
This commit is contained in:
parent
fe23e6319c
commit
6c732eb46e
3 changed files with 4 additions and 1 deletions
3
calc.css
3
calc.css
|
|
@ -18,6 +18,9 @@
|
||||||
-moz-user-select: none; /* Old versions of Firefox */
|
-moz-user-select: none; /* Old versions of Firefox */
|
||||||
-ms-user-select: none; /* Internet Explorer/Edge */
|
-ms-user-select: none; /* Internet Explorer/Edge */
|
||||||
user-select: none;
|
user-select: none;
|
||||||
|
|
||||||
|
padding-right: 20px;
|
||||||
|
padding-top: 20px;
|
||||||
}
|
}
|
||||||
.numberbutton {
|
.numberbutton {
|
||||||
width: 100px;
|
width: 100px;
|
||||||
|
|
|
||||||
|
|
@ -108,7 +108,7 @@
|
||||||
function equalsb() {
|
function equalsb() {
|
||||||
var t1 = document.getElementById("eingabe").value
|
var t1 = document.getElementById("eingabe").value
|
||||||
var t2 = t1.replace("𝜋", "Math.PI");
|
var t2 = t1.replace("𝜋", "Math.PI");
|
||||||
var t3 = t2.replace("²", "^2");
|
var t3 = t2.replace("²", "Math.sqr");
|
||||||
if(t1 != "") {
|
if(t1 != "") {
|
||||||
document.getElementById("eingabe").value = eval(t3);
|
document.getElementById("eingabe").value = eval(t3);
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
BIN
horse.mp3
BIN
horse.mp3
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue