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 - Type: - + Type: + Comment Generation Code Refinement - + Upload JSON 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."); }