From a63ebb2526233e6f459d0a0957edaf36b2dfa21b Mon Sep 17 00:00:00 2001 From: Karma Riuk Date: Mon, 16 Jun 2025 11:51:46 +0200 Subject: [PATCH] fixed typo --- public/index.html | 6 +++--- public/js/index.js | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/public/index.html b/public/index.html index 1c30d3e..f77ecea 100644 --- a/public/index.html +++ b/public/index.html @@ -48,13 +48,13 @@ Upload Your Answers - -

- +

diff --git a/public/js/index.js b/public/js/index.js index f561517..d6c4c91 100644 --- a/public/js/index.js +++ b/public/js/index.js @@ -75,8 +75,8 @@ document.getElementById("upload-btn").onclick = async () => { uploadStatusEl.classList.add("hidden"); progressContainer.classList.add("hidden"); - const type = document.getElementById("answer-cype").value; - const fileInput = document.getElementById("file-cnput"); + const type = document.getElementById("answer-type").value; + const fileInput = document.getElementById("file-input"); if (!fileInput.files.length) { return alert("Please choose a JSON file first."); }