Compare commits
1 Commits
main
...
testBranch
Author | SHA1 | Date |
---|---|---|
Selim Eser | 239b06d66c |
Binary file not shown.
|
@ -21,19 +21,31 @@ 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;
|
||||
|
@ -41,7 +53,7 @@ function appendToDisplay(input){
|
|||
operatorSelected = false;
|
||||
}
|
||||
|
||||
operatorSelected = false;
|
||||
|
||||
display.value += input;
|
||||
equalsPerformed = false;
|
||||
fresh=false;
|
||||
|
|
|
@ -7,14 +7,15 @@
|
|||
</head>
|
||||
<body>
|
||||
<div id="heading">
|
||||
<h1>Selim Eser <br> Hochschule Mannheim <br> (2211482)</h1>
|
||||
|
||||
<h1>TEST BRANCH<br> Hochschule Mannheim <br> (2211482)</h1>
|
||||
<a href="Lebenslauf.pdf" style="font-size: 2em; color: brown;" target="_blank">Resume</a>
|
||||
<br><br>
|
||||
</div>
|
||||
<br><br><br>
|
||||
<div id="projects">
|
||||
<h1 style="font-size: 1.3em;">Projects</h1>
|
||||
<br>
|
||||
|
||||
<div id="projectLinks">
|
||||
<a href="calculator.html" target="_blank" style="color: brown;">Calculator</a>
|
||||
<br><br><br>
|
||||
|
|
Loading…
Reference in New Issue