Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <head>
- <title>
- UAT Space Program!
- </title>
- </head>
- <body>
- <img src="UATSpace.png">
- <br>
- <img src="spaceship.png">
- <br>
- <script>
- document.write("UAT Space Program!");
- </script>
- <br>
- <script>
- document.write("Test of the document write function");
- </script>
- <br>
- <p>
- Test of the paragraph tags
- </p>
- <button type="button">Start</button>
- <button type="button">Stop</button>
- <script>
- function countdown(){
- var countsA=5;
- setTimeout(function(){alert("The time is currTime "+countsA);},50000);
- var countsB=countsA+5;
- setTimeout(function(){alert(countsB);},45000);
- var countsC=countsB+5;
- setTimeout(function(){alert(countsC);},40000);
- var countsD=countsC+5;
- setTimeout(function(){alert(countsD);},35000);
- var countsE=countsD+5;
- setTimeout(function(){alert(countsE);},30000);
- var countsF=countsE+5;
- setTimeout(function(){alert(countsF);},25000);
- var countsG=countsF+5;
- setTimeout(function(){alert(countsG);},20000);
- var countsH=countsG+5;
- setTimeout(function(){alert(countsH);},15000);
- var countsI=countsH+5;
- setTimeout(function(){alert(countsI);},10000);
- var countsJ=countsI+5;
- setTimeout(function(){alert(countsJ);},5000);
- }
- countdown();
- function blastOff() {
- alert("Blast off!");
- }
- blastOff();
- </script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement