Skip to content

Commit 17217ea

Browse files
committed
1
1 parent 6c41f89 commit 17217ea

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

002-progress steps/script.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@ nextBtn.addEventListener("click", (e) => {
1919
}
2020
if (whichNumber == 3) {
2121
nextBtn.classList.remove("active-btn");
22+
nextBtn.disabled = true;
2223
}
24+
console.log(whichNumber);
2325
});
2426

2527
// Prev Event

0 commit comments

Comments
 (0)