There are two divs
, one named #loading
and the other named #main
;
<div id="loading"></div>
<div id="main"></div>
The goal is to use JavaScript to display #loading
for five seconds, then hide it and show the #main
div. The #main
div is initially hidden but should appear after hiding the #loading
div.
To accomplish this, a combination of CSS and JavaScript would be needed. Hopefully you understand the objective and can assist in achieving it successfully.
Thank you.