Advertisement
makispaiktis

Codecademy - Range Example

Aug 14th, 2019 (edited)
373
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5 1.33 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html lang="en" dir="ltr">
  3.   <head>
  4.     <meta charset="utf-8">
  5.     <link rel="stylesheet" type="text/css" href="style.css">
  6.     <link href="https://fonts.googleapis.com/css?family=Rubik" rel="stylesheet">
  7.     <title>Range Input</title>
  8.   </head>
  9.   <body>
  10.     <section id="overlay">
  11.       <img src="https://s3.amazonaws.com/codecademy-content/courses/web-101/unit-6/htmlcss1-img_burger-logo.svg" alt="Davie's Burgers Logo" id="logo">
  12.       <hr>
  13.       <form>
  14.         <h1>Create a burger!</h1>
  15.                 <section class="protein">
  16.           <label for="patty">What type of protein would you like?</label>
  17.                 <input type="text" name="patty" id="patty">
  18.         </section>
  19.         <hr>
  20.         <section class="patties">
  21.           <label for="amount">How many patties would you like?</label>
  22.           <input type="number" name="amount" id="amount">
  23.         </section>
  24.         <hr>
  25.                
  26.         <section class="cooked">
  27.           <label for="doneness">How do you want your patty cooked</label>
  28.           <br>
  29.           <span>Rare</span>
  30.           <br>
  31.                <!--Add your code below-->
  32.                     <input id="doneness" name="doneness"
  33.                 type="range" min="0" max="5" step="0.5">
  34.           <br>
  35.           <span>Well-Done</span>
  36.         </section>
  37.        
  38.       </form>
  39.     </section>
  40.   </body>
  41. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement