Advertisement
makispaiktis

Codecademy - Enter a guess number

Aug 16th, 2019 (edited)
270
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5 0.73 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html lang="en" dir="ltr">
  3.   <head>
  4.     <meta charset="utf-8">
  5.     <title>Number Guessing</title>
  6.     <link rel="stylesheet" href="style.css" type="text/css">
  7.     <link href="https://fonts.googleapis.com/css?family=Spicy+Rice" rel="stylesheet">
  8.   </head>
  9.   <body>
  10.     <section class="overlay">
  11.       <h1>Guess the right number!</h1>
  12.       <form action="check.html" method="GET">
  13.         <label for="guess">Enter a number between 1-10:</label>
  14.         <br>
  15.         <!--Add the min and max attribute to the input-->
  16.         <input type="number" name="guess" id="guess" min="1" max="10" required>
  17.         <br>
  18.         <input type="submit" id="submission" value="Submit">
  19.       </form>
  20.     </section>
  21.   </body>
  22. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement