Advertisement
Tryah85

Powerball-html

Feb 5th, 2013
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5 0.95 KB | None | 0 0
  1. <!--save as 'index.html' -->
  2. <!doctype html>
  3. <html lang ="en">
  4. <head>
  5.     <meta charset="utf-9">
  6.     <title>PowerBall Number Generator</title>
  7.     <!--<meta name="description" content="Blah blah blah">
  8.     <meta name="author" content="Made by...">
  9.     <link rel="stylesheet" href="style.css?v=1.0">
  10.     IF STATEMENTS FOR DIFFERENT BROWSERS/SCREEN-SIZE/DEVICES -->
  11. </head>
  12. <body>
  13. <!-- SEE EXTERNAL js FILE -->   <script src="js/index.js"></script>
  14.    
  15. <h1>PowerBall</h1>
  16.  
  17. <ul id="gen_num">
  18.     <li></li>
  19.     <li>2</li>
  20.     <li>3</li>
  21.     <li>4</li>
  22.     <li>5</li>
  23.     <li>6</li>
  24. </ul>
  25.  
  26.     <button onclick="gen()">Generate Numbers</button>
  27.         <!-- BACK WITH REFRESHING <button onclick="window.location.reload()">Clear</button> -->
  28.     <button onclick="document.location.reload(false)">Clear</button>
  29.     <!-- BACK WITHOUT RELOLADING FROM SERVER: window.location.reload(true || false)
  30.     ------- True reloads from server, false reloads from catch -->
  31.  
  32. </body>
  33. <footer>
  34.  
  35. </footer>
  36. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement