We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3cdf089 commit c4b8538Copy full SHA for c4b8538
index.css
@@ -41,7 +41,7 @@ body {
41
padding: 10px;
42
background-color: rgb(27 22 22 / 39%);
43
transform: translateX(0px);
44
- transition: transform 2s;
+ transition: transform 1s;
45
}
46
47
.computation-history-parent {
@@ -94,7 +94,7 @@ body {
94
95
.sliding-part.slide {
96
transform: translateX(200px);
97
98
99
100
index.js
@@ -10,6 +10,8 @@ const clearHistoryBtn = document.querySelector(".clear-history-btn");
10
11
console.log(clearHistoryBtn);
12
13
+clearHistoryBtn.addEventListener("click", () => { historyElement.innerHTML = ""})
14
+
15
16
17
const operatorRegex = /[\/*\-+]/;
0 commit comments