summary refs log tree commit diff
path: root/11/scripts/script.js
diff options
context:
space:
mode:
Diffstat (limited to '11/scripts/script.js')
-rw-r--r--11/scripts/script.js46
1 files changed, 0 insertions, 46 deletions
diff --git a/11/scripts/script.js b/11/scripts/script.js
deleted file mode 100644
index c0c2dea..0000000
--- a/11/scripts/script.js
+++ /dev/null
@@ -1,46 +0,0 @@
-/*
-	Student: Name Surname
-	File Name: script.js
-	Date: 2024/11/18
-*/
-
-// Global variables
-var answer = document.querySelector("#answer p");
-var heading = document.querySelector("#answer h2");
-
-// Hamburger menu function
-function hamburger() {
-		var navlinks = document.getElementById("nav-links");
-		var menuicon = document.getElementById("icon");
-		if (navlinks.style.display === "block") {
-			navlinks.style.display = "none";
-			menuicon.style.color = "#2a1f14";
-		}else {
-			navlinks.style.display = "block";
-			menuicon.style.color = "#f6eee4";
-		}
-}
-
-// Function to display the first answer
-function ans1() {
-	heading.style.display = "block";
-	answer.textContent = "Step back and observe the situation for a a few minutes. Wait to see if a parent arrives. If the animal is in immediate danger from a predator or is in the road, remove the baby and bring to a rescue center.";
-}
-
-// Function to display the second answer
-function ans2() {
-	heading.style.display = "block";
-	answer.textContent = "You cannot tell if an animal has rabies a simply by seeing it. A test must be performed to determine if an animal has rabies. Do not approach wildlife that you suspect might be rabid. Contact us to have the animal removed.";
-}
-
-// Function to display the third answer
-function ans3() {
-	heading.style.display = "block";
-	answer.textContent = "No. This is a myth. The parents will retrieve the baby bird and place it back in its nest. If the parents do not return, contact us.";
-}
-
-// Function to display the fourth answer
-function ans4() {
-	heading.style.display = "block";
-	answer.textContent = "We need volunteers to help feed animals, care a for animals, and clean animal pens. We also accept donations.";
-}