restructured

This commit is contained in:
Karan
2021-12-03 14:21:37 +05:30
committed by GitHub
parent f2aaff44a0
commit 31256c47cd
+1 -1
View File
@@ -22,7 +22,7 @@
btn2.addEventListener("click", tracker);
btn3.addEventListener("click", (e) => {
console.log(log);
})
});
function tracker(e) {
output.textContent = myInput.value;
const ev = e.target;