summary refs log tree commit diff
path: root/10/scripts/script.js
diff options
context:
space:
mode:
author1970-01-01 00:00:00 +0000
committer2025-01-14 03:20:53 +0000
commit588e25e5d0a30c25ca952ccaa1a2f1f1c92a03f6 (patch)
treef1dbc0e6ff59af610a6043889606a8534ef6b1d4 /10/scripts/script.js
parentrescue 12 (diff)
downloadhtml-588e25e5d0a30c25ca952ccaa1a2f1f1c92a03f6.tar
html-588e25e5d0a30c25ca952ccaa1a2f1f1c92a03f6.tar.gz
html-588e25e5d0a30c25ca952ccaa1a2f1f1c92a03f6.tar.bz2
html-588e25e5d0a30c25ca952ccaa1a2f1f1c92a03f6.tar.xz
html-588e25e5d0a30c25ca952ccaa1a2f1f1c92a03f6.zip
rescue
Diffstat (limited to '10/scripts/script.js')
-rw-r--r--10/scripts/script.js46
1 files changed, 0 insertions, 46 deletions
diff --git a/10/scripts/script.js b/10/scripts/script.js
deleted file mode 100644
index c0c2dea..0000000
--- a/10/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.";
-}