- Lebenslauf

main
s.eser 2024-06-01 14:19:32 +02:00
parent d6ff4c8e2c
commit 4caab97608
3 changed files with 5 additions and 17 deletions

BIN
.DS_Store vendored

Binary file not shown.

Binary file not shown.

View File

@ -21,31 +21,19 @@ function appendToDisplay(input){
if(operator == '+'){
operatorPlus.style.backgroundColor = "#ff9f0a";
operatorPlus.style.color = "white";
/*operatorPlus.addEventListener('mouseover', function(e) {
e.target.style.backgroundColor = "#feb84e";});
operatorPlus.addEventListener('mouseleave', function(e) {
e.target.style.backgroundColor = "#ff9f0a";});*/
}else if(operator == '-'){
operatorMinus.style.backgroundColor = "#ff9f0a";
operatorMinus.style.color = "white";
/*operatorMinus.addEventListener('mouseover', function(e) {
e.target.style.backgroundColor = "#feb84e";});
operatorMinus.addEventListener('mouseleave', function(e) {
e.target.style.backgroundColor = "#ff9f0a";});*/
}else if(operator == '*'){
operatorMultiplication.style.backgroundColor = "#ff9f0a";
operatorMultiplication.style.color = "white";
/*operatorMultiplication.addEventListener('mouseover', function(e) {
e.target.style.backgroundColor = "#feb84e";});
operatorMultiplication.addEventListener('mouseleave', function(e) {
e.target.style.backgroundColor = "#ff9f0a";});*/
}else if(operator == '/'){
operatorDivision.style.backgroundColor = "#ff9f0a";
operatorDivision.style.color = "white";
/*operatorDivision.addEventListener('mouseover', function(e) {
e.target.style.backgroundColor = "#feb84e";});
operatorDivision.addEventListener('mouseleave', function(e) {
e.target.style.backgroundColor = "#ff9f0a";});*/
}
displayMem = display.value;
@ -53,7 +41,7 @@ function appendToDisplay(input){
operatorSelected = false;
}
operatorSelected = false;
display.value += input;
equalsPerformed = false;
fresh=false;