JSFiddle - React, Tailwind, and code Playground

HTML

</div>
        <div class="one-half column phones">
          <img class="phone" src="public/images/yegbg.png" width="400" height="600" border="0" alt="images/yegbg.png" title="images/yegbg.png" />
        </div>
      </div>
    </div>
  </div>




<div class="clear"></div>
  <div class="section categories">
    <div class="container">			 
	<button class="button button-secondary" onclick="showhide('privacy_body')">Privacy Policy</button> <button class="button button-secondary"  onclick="showhide('faq_body')">FAQ</button><button class="button button-secondary"  onclick="showhide('terms_body')">Terms of Service</button><a class="button button-secondary"  href="{$script_name|replace:'_fr':'_en'}.php">EN</a><a class="button button-secondary"  href="{$script_name|replace:'_en':'_fr'}.php">Français</a>

			<div class="button-container">


		<div id="privacy_body">
		        <h3>Privacy Policy</h3>
			<dd>
				<p>EIA (<strong>'EIA'</strong>/<strong>'we'</strong>/<strong>'us'</strong>) respects the privacy and personal electronic communication of the users of the EIA Services (as defined below).  This Privacy Policy sets forth EIA’s policy with respect to personally identifiable data (<strong>'Personal Information'</strong>) and other information that is collected from users of the EIA Services.</p>
				<p><strong>By providing us with Personal Information, you are consenting to our use of it in accordance with this Privacy Policy. If you provide Personal Information to the EIA Services, you acknowledge and agree that such Personal Information may be transferred from your current location to the offices and servers of EIA and the authorized third parties referred to herein located in Canada, the United States or other countries as indicated by this Privacy Policy from time to time.</strong>   You may withdraw your consent to our processing of your Personal Information at any time.  However, withdrawing consent may result in your inability to continue using certain...

JavaScript

window.onload = function(){
document.getElementById("privacy_body").style.display = "none";
document.getElementById("faq_body").style.display = "none";
document.getElementById("terms_body").style.display = "none";
};

 function showhide(toggleID){
   var toggleDiv = document.getElementById(toggleID);
   if(toggleDiv.style.display != "none"){
    toggleDiv.style.display = 'none';
   }else{
    toggleDiv.style.display = 'block';
   }
 };