Advertisement
Guest User

Untitled

a guest
Mar 25th, 2019
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 1.46 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html lang="en">
  3.  
  4. <head>
  5.     <meta charset="UTF-8">
  6.     <meta name="viewport" content="width=device-width, initial-scale=1.0">
  7.     <meta http-equiv="X-UA-Compatible" content="ie=edge">
  8.     <title>Tic - Tac - Toe</title>
  9.     <link rel="stylesheet" href="style/style.css">
  10. </head>
  11.  
  12. <body>
  13.     <h1>Tic - Tac - Toe</h1>
  14.     <div class="menu">
  15.         <div class="instructions">
  16.             <h2>Instruction</h2>
  17.             <ol>
  18.                 <li>Player 1 Create a new game</li>
  19.                 <li>Player 2 Enter the room id </li>
  20.                 <li>Click on "Join Game"</li>
  21.             </ol>
  22.             <div class="type">
  23.                 <h3>Create a new game</h3>
  24.                 <input type="text" name="name" id="nameNew" placeholder="Enter your name" required>
  25.                 <input type="text" variant="variant" id="varOfGame" placeholder="Enter variant of game" required>
  26.                 <button id="new">New Game</button>
  27.  
  28.                 <h3>Join an existing game</h3>
  29.                 <input type="text" name="name" id="nameJoin" placeholder="Enter your name" required>
  30.                 <input type="text" name="room" id="room" placeholder="Enter Game ID" required>
  31.                 <button id="join">Join Game</button>
  32.             </div>
  33.         </div>
  34.     </div>
  35.     <script src="node_modules/jquery/dist/jquery.min.js"></script>
  36.     <script src="/socket.io/socket.io.js"></script>
  37.     <script src='main.js'></script>
  38. </body>
  39.  
  40. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement