From b79b13926acf3b3184010b7a7d79925282f5aa4f Mon Sep 17 00:00:00 2001 From: Anuj Sharma Date: Wed, 20 May 2026 18:20:58 +0530 Subject: [PATCH] Fix syntax error --- web-app/js/projects.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/web-app/js/projects.js b/web-app/js/projects.js index afc1da6..1cfd324 100644 --- a/web-app/js/projects.js +++ b/web-app/js/projects.js @@ -1,4 +1,4 @@ -// Project Registry +// Project Registry // Each project's HTML and logic lives in its own file under js/projects/ function getProjectHTML(projectName) { @@ -3483,7 +3483,7 @@ function getTowerOfHanoiHTML() { optimalMovesEl.textContent = Math.pow(2, diskCount) - 1; moveCountEl.textContent = '0'; drawTowers(); - } + function drawTowers() { ctx.clearRect(0, 0, canvas.width, canvas.height); @@ -3555,7 +3555,7 @@ function getTowerOfHanoiHTML() { return projects[projectName] || '

Project Coming Soon!

'; } -} + function getTicTacToeHTML() { return `