Guessing Game


SUBMITTED BY: Guest

DATE: Aug. 9, 2016, 12:45 a.m.

FORMAT: Text only

SIZE: 1.5 kB

HITS: 657

  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title id="pageTitle"></title>
  5. <meta name="author" content="David Johnston">
  6. <style>
  7. body
  8. {
  9. margin: 40px;
  10. text-align: center;
  11. background-color: white;
  12. }
  13. div
  14. {
  15. color: black;
  16. background-color: POWDERBLUE;
  17. font-size: 14px;
  18. font-weight: normal;
  19. font-family: Verdana,Geneva,sans-serif;
  20. text-align: center;
  21. width: 500px;
  22. margin: 0px auto 0px auto;
  23. padding: 10px 20px 10px 20px;
  24. }
  25. button, input, select, textarea
  26. {
  27. font: inherit;
  28. margin: 0;
  29. }
  30. </style>
  31. </head>
  32. <body>
  33. <div id="headingArea" style="font-size: 20px; font-weight: bold;
  34. padding: 40px 20px 20px 20px;"></div>
  35. <div id="scoreArea" style="font-weight: bold;"></div>
  36. <div id="instructionArea"></div>
  37. <div id="playArea">
  38. <input id="guessField" type="text" value="0">
  39. &nbsp;
  40. <button id="guessButton" type="button">Guess</button>
  41. </div>
  42. <div id="commentArea"></div>
  43. <div id="buttonArea" style="padding: 10px 20px 20px 20px;">
  44. <button id="resetButton" type="button">Reset Game</button>
  45. </div>
  46. <script src="guessing.js"></script>
  47. </body>
  48. </html>

comments powered by Disqus