From da32526da62139dea11fbe2d4489c9e0918f17bc Mon Sep 17 00:00:00 2001 From: sotrali Date: Sun, 21 Sep 2025 18:55:46 -0400 Subject: hero image + faq added --- dropdown-box.js | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 dropdown-box.js (limited to 'dropdown-box.js') diff --git a/dropdown-box.js b/dropdown-box.js new file mode 100644 index 0000000..47461fb --- /dev/null +++ b/dropdown-box.js @@ -0,0 +1,7 @@ +function toggleDropdown(headerClicked) { + let body = headerClicked.nextElementSibling; + let arrow = headerClicked.children[1]; + + body.classList.toggle("open"); + arrow.classList.toggle("open"); +} -- cgit v1.3.1-4-g156e