Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!--save as 'index.html' -->
- <!doctype html>
- <html lang ="en">
- <head>
- <meta charset="utf-9">
- <title>PowerBall Number Generator</title>
- <!--<meta name="description" content="Blah blah blah">
- <meta name="author" content="Made by...">
- <link rel="stylesheet" href="style.css?v=1.0">
- IF STATEMENTS FOR DIFFERENT BROWSERS/SCREEN-SIZE/DEVICES -->
- </head>
- <body>
- <!-- SEE EXTERNAL js FILE --> <script src="js/index.js"></script>
- <h1>PowerBall</h1>
- <ul id="gen_num">
- <li></li>
- <li>2</li>
- <li>3</li>
- <li>4</li>
- <li>5</li>
- <li>6</li>
- </ul>
- <button onclick="gen()">Generate Numbers</button>
- <!-- BACK WITH REFRESHING <button onclick="window.location.reload()">Clear</button> -->
- <button onclick="document.location.reload(false)">Clear</button>
- <!-- BACK WITHOUT RELOLADING FROM SERVER: window.location.reload(true || false)
- ------- True reloads from server, false reloads from catch -->
- </body>
- <footer>
- </footer>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement