Advertisement
Guest User

Untitled

a guest
Oct 14th, 2019
176
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.47 KB | None | 0 0
  1.  
  2. <!DOCTYPE html>
  3. <html lang="en">
  4. <head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  5.  
  6. <title> Viper's Pizza </title>
  7. <script>
  8. function Submit_order_alert()
  9. {
  10. const Info = document.getElementById("Info");
  11. const FirstName = document.getElementById("FirstName");
  12.  
  13. Info.innerHTML = ("Thank you " + FirstName + " We have your address as " + Address + " your phone number is " + Phone Number )
  14.  
  15. }
  16.  
  17.  
  18. </script>
  19. </head>
  20.  
  21.  
  22. <body>
  23. <header><h1>Vipers Pizza</h1> </header>
  24. <div id="tagline"> <h2>Where you find Venom inside Pizza &trade;</h2></div>
  25. <img src="viper.jpg" width ="140" height ="160" alt="Vipers Pizza Company Logo">
  26.  
  27. <main>
  28.  
  29.  
  30. <p>First Name: <input type="text" id="FirstName" name ="user_name"> </p> <p>Last Name: <input type="text" id="1234" name ="user_name"/></p>
  31. <p>Phone Number: <input type="text" id="PhoneNumber" name ="phone_number" /> </p>
  32. <p>Email Address: <input type="text" id="EmailAddress" name ="user_name"/></p>
  33. <p> Address: <input type="text" id="Address" name = "address" /></p>
  34. <p>Size: <select>
  35. <option value="10"> Small $10 </option>
  36. <option value ="13"> Medium $13 </option>
  37. <option value ="16"> Large $16 </option>
  38. </select></p>
  39.  
  40. <p>Toppings:</p>
  41. <p>Mushrooms <input type="checkbox" name="Mushrooms"></p>
  42. <p>Olives <input type="checkbox" name="Olives"></p>
  43. <p>Sausage <input type="checkbox" name="Sausage"></p>
  44. <p> Special Requests: <textarea name="comments" col="25" rows ="5" ></textarea></p>
  45.  
  46.  
  47.  
  48. <p>Would you like to be added to our mailing list for our periodic specials?</p>
  49. <p>Yes <input type="radio" name ="Radyes"></p>
  50. <p>No <input type ="radio" name="Radyes"></p>
  51.  
  52.  
  53.  
  54. <p><input type="button" value="Submit my order" onclick="Submit_order_alert()"></p>
  55.  
  56. <p id="p1"> </p>
  57. <p id="Info"> </p>
  58.  
  59. </main>
  60.  
  61.  
  62. <footer><h6>Thank you for choosing Vipers Pizza. </h6>
  63. <h6> 6723 1 E Jackson Blvd.</h6>
  64. <h6>(773)-298-3947</h6> </footer>
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71.  
  72.  
  73. </body>
  74. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement