Skip to content

Commit

Permalink
main
Browse files Browse the repository at this point in the history
  • Loading branch information
TopTech126 committed Oct 6, 2024
1 parent 177a019 commit 70ba9e6
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -169,11 +169,11 @@ <h4>Tell your friends</h4>
</ul>
</div>
</div>
<div class="cta-links-area d-flex justify-content-center">
<!-- <div class="cta-links-area d-flex justify-content-center">
<a id="toggleButton1" class="btn-outline cta-link cta-link-primary" href="https://youtu.be/iBKDmGIe3ZA" target="_blank" alt="demo video about how chatbot works">
we will use genAI to create from webpage when ready
</a>
</div>
</div> -->
</div>
</div>
</div>
Expand Down
20 changes: 10 additions & 10 deletions js/Teacher.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.");
// }
// }
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.");
}
}

0 comments on commit 70ba9e6

Please sign in to comment.