Advertisement
Guest User

Untitled

a guest
Sep 15th, 2019
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.64 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title>
  5. UAT Space Program!
  6. </title>
  7. </head>
  8. <body>
  9. <img src="UATSpace.png">
  10. <br>
  11. <img src="spaceship.png">
  12. <br>
  13. <script>
  14. document.write("UAT Space Program!");
  15. </script>
  16. <br>
  17. <script>
  18. document.write("Test of the document write function");
  19. </script>
  20. <br>
  21. <p>
  22. Test of the paragraph tags
  23. </p>
  24. <button type="button">Start</button>
  25. <button type="button">Stop</button>
  26. <script>
  27. function countdown(){
  28.  
  29.  
  30. var countsA=5;
  31. setTimeout(function(){alert("The time is currTime "+countsA);},50000);
  32. var countsB=countsA+5;
  33. setTimeout(function(){alert(countsB);},45000);
  34. var countsC=countsB+5;
  35. setTimeout(function(){alert(countsC);},40000);
  36. var countsD=countsC+5;
  37. setTimeout(function(){alert(countsD);},35000);
  38. var countsE=countsD+5;
  39. setTimeout(function(){alert(countsE);},30000);
  40. var countsF=countsE+5;
  41. setTimeout(function(){alert(countsF);},25000);
  42. var countsG=countsF+5;
  43. setTimeout(function(){alert(countsG);},20000);
  44. var countsH=countsG+5;
  45. setTimeout(function(){alert(countsH);},15000);
  46. var countsI=countsH+5;
  47. setTimeout(function(){alert(countsI);},10000);
  48. var countsJ=countsI+5;
  49. setTimeout(function(){alert(countsJ);},5000);
  50. }
  51. countdown();
  52.  
  53. function blastOff() {
  54. alert("Blast off!");
  55. }
  56.  
  57. blastOff();
  58. </script>
  59. </body>
  60. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement