diff --git a/index.html b/index.html
index 578ff73..53898a2 100644
--- a/index.html
+++ b/index.html
@@ -169,11 +169,11 @@
Tell your friends
-
+
diff --git a/js/Teacher.js b/js/Teacher.js
index 02f6054..2b1db85 100644
--- a/js/Teacher.js
+++ b/js/Teacher.js
@@ -9,13 +9,13 @@ function toggleInput() {
}
}
-// function changeTeacher() {
-// const teacherName = document.getElementById("inputText").value.trim();
-// if (teacherName !== "") {
-// // Replace the placeholder avatar with the selected teacher's avatar (API call).
-// // For demonstration purposes, we're just displaying a message here.
-// alert(`Teacher changed to: ${teacherName}`);
-// } else {
-// alert("Please enter a teacher's name.");
-// }
-// }
\ No newline at end of file
+function changeTeacher() {
+ const teacherName = document.getElementById("inputText").value.trim();
+ if (teacherName !== "") {
+ // Replace the placeholder avatar with the selected teacher's avatar (API call).
+ // For demonstration purposes, we're just displaying a message here.
+ alert(`Teacher changed to: ${teacherName}`);
+ } else {
+ alert("Please enter a teacher's name.");
+ }
+}
\ No newline at end of file