diff --git a/nmeenemy-draft/accordion.js b/nmeenemy-draft/accordion.js new file mode 100644 index 0000000..851ecec --- /dev/null +++ b/nmeenemy-draft/accordion.js @@ -0,0 +1,14 @@ +var acc = document.getElementsByClassName("accordion"); +var i; + +for (i = 0; i < acc.length; i++) { + acc[i].addEventListener("click", function() { + this.classList.toggle("active"); + var panel = this.nextElementSibling; + if (panel.style.maxHeight){ + panel.style.maxHeight = null; + } else { + panel.style.maxHeight = panel.scrollHeight + "px"; + } + }); +} \ No newline at end of file diff --git a/nmeenemy-draft/research.html b/nmeenemy-draft/research.html index 7506f35..9c82647 100644 --- a/nmeenemy-draft/research.html +++ b/nmeenemy-draft/research.html @@ -2,9 +2,9 @@
- - - + + + @@ -13,185 +13,183 @@ - + - +Research conducted before starting this campaign.
-
- Heidi J. et al.
- There are a few common misconceptions about how immunizations work.
- -Being vaccinated means you are now fully immune to the disease. FALSE
If anti-vaxxers choose to not vaccinate then only THEY are placed at risk while the rest of us remain safe from infection. FALSE
-Research conducted before starting this campaign.
+
+ Heidi J. et al.
+ Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.