hidding content in html code example
Example 1: hide div elment
document.getElementById("payment_period").style.display = "none";
Example 2: html hidden
<!-- stops an element from rendering, but still loads it to memory-->
<p>this will show</p>
<p hidden>Thill will not show</p>