how to hid an element by default in js code example Example: html hide a div by default <div class="toshow" style="display:none"></div>