Массив Javascript и var не будут отображаться при добавлении в теги сценария.

Массив Javascript и var не будут отображаться при добавлении в теги сценария.

У меня есть большой код, с которым я работаю. Моя проблема в том, что у меня есть несколько таблиц / массивов, которые я не знаю, как группировать по одному тегу скрипта, чтобы у них всех была своя собственная. Мои таблицы работают хорошо отдельно, но я знаю, что код запутан. Я не могу понять массив. Предполагалось, что это будет массив 3х5, но когда он появится на странице, все это один столбец и одна строка. Другая проблема заключается в том, что когда я пытаюсь глобально объявить массив, сам текст отображается в html, а не выполняется должным образом.

  {amp}lt;!DOCTYPE html{amp}gt; {amp}lt;html{amp}gt; {amp}lt;head{amp}gt; {amp}lt;title{amp}gt;Door Crash Order Page, v2{amp}lt;/title{amp}gt; {amp}lt;meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /{amp}gt; {amp}lt;meta http-equiv="Expires" content="-1"{amp}gt; {amp}lt;!-- External CSS link --{amp}gt; {amp}lt;link rel="stylesheet" type="text/css" href="DoorCrash-ExternalStyles.css"{amp}gt; {amp}lt;script language="javascript"{amp}gt; function add() { var FoodItems = [ [ document.getElementById('input5'), document.getElementById('input6'), document.getElementById('input7') ], [ document.getElementById('input1'), document.getElementById('input3'), document.getElementById('input10') ] ]; var result = []; for (var i = 0; i {amp}lt; els.length; i  ) { result[result.length] = parseInt(els[0][i].value) - parseInt(els[1][i].value); } alert(result.join(' ')); console.log("FoodItems"); localStorage.setItem("FoodItems", JSON.stringify(FoodItems)); } window.addEventListener("load", () ={amp}gt; { const ret = localStorage.getItem("FoodItems"); if(!ret) { alert("retrieval successful"); } }); {amp}lt;script language="JavaScript"{amp}gt;{amp}lt;!-- function cent(amount) { // returns the amount in the .99 format return (amount == Math.floor(amount)) ? amount   '.00' : ( (amount*10 == Math.floor(amount*10)) ? amount   '0' : amount); } function update(form) { var subtotal = (form.quantity.value - 0) * (form.unitcost.value - 0)  (form.quantity1.value - 0) * (form.unitcost1.value - 0)  (form.quantity2.value - 0) * (form.unitcost2.value - 0)  (form.quantity3.value - 0) * (form.unitcost3.value - 0); subtotal = Math.floor(subtotal * 1000)/1000; form.subtotal.value = '$'   cent(subtotal); var tax = subtotal / 100 * (form.rate.value - 0); tax = Math.floor(tax * 1000)/1000; form.tax.value = '$'   cent(tax); total = subtotal   tax; total = Math.floor(total * 1000)/1000; form.total.value = '$'   cent(total); } //--{amp}gt;{amp}lt;/script{amp}gt; {amp}lt;h4{amp}gt;Jimmy John's{amp}lt;/h4{amp}gt; {amp}lt;form{amp}gt; {amp}lt;table{amp}gt; {amp}lt;tr{amp}gt;{amp}lt;td{amp}gt;The Veggie Quantity: {amp}lt;/td{amp}gt;{amp}lt;td{amp}gt;{amp}lt;input type="text" name="quantity" size="8"{amp}gt;{amp}lt;/td{amp}gt;{amp}lt;/tr{amp}gt; {amp}lt;tr{amp}gt;{amp}lt;td{amp}gt;Billy Club Quantity: {amp}lt;/td{amp}gt;{amp}lt;td{amp}gt;{amp}lt;input type="text" name="quantity1" size="8"{amp}gt;{amp}lt;/td{amp}gt;{amp}lt;/tr{amp}gt; {amp}lt;tr{amp}gt;{amp}lt;td{amp}gt;Totally Tuna Quantity: {amp}lt;/td{amp}gt;{amp}lt;td{amp}gt;{amp}lt;input type="text" name="quantity2" size="8"{amp}gt;{amp}lt;/td{amp}gt;{amp}lt;/tr{amp}gt; {amp}lt;tr{amp}gt;{amp}lt;td{amp}gt;Turkey Tom Quantity: {amp}lt;/td{amp}gt;{amp}lt;td{amp}gt;{amp}lt;input type="text" name="quantity3" size="8"{amp}gt;{amp}lt;/td{amp}gt;{amp}lt;/tr{amp}gt; {amp}lt;tr{amp}gt;{amp}lt;td{amp}gt;The Veggie Cost: {amp}lt;/td{amp}gt;{amp}lt;td{amp}gt;{amp}lt;input type="text" name="unitcost" value="6.99"size="8"{amp}gt;{amp}lt;/td{amp}gt;{amp}lt;/tr{amp}gt; {amp}lt;tr{amp}gt;{amp}lt;td{amp}gt;Billy Club Cost: {amp}lt;/td{amp}gt;{amp}lt;td{amp}gt;{amp}lt;input type="text" name="unitcost1" value="8.09"size="8"{amp}gt;{amp}lt;/td{amp}gt;{amp}lt;/tr{amp}gt; {amp}lt;tr{amp}gt;{amp}lt;td{amp}gt;Totally Tuna Cost: {amp}lt;/td{amp}gt;{amp}lt;td{amp}gt;{amp}lt;input type="text" name="unitcost2" value="9.49"size="8"{amp}gt;{amp}lt;/td{amp}gt;{amp}lt;/tr{amp}gt; {amp}lt;tr{amp}gt;{amp}lt;td{amp}gt;Turkey Tom Cost: {amp}lt;/td{amp}gt;{amp}lt;td{amp}gt;{amp}lt;input type="text" name="unitcost3" value="7.99"size="8"{amp}gt;{amp}lt;/td{amp}gt;{amp}lt;/tr{amp}gt; {amp}lt;tr{amp}gt;{amp}lt;td{amp}gt;Tax Rate (%): {amp}lt;/td{amp}gt;{amp}lt;td{amp}gt;{amp}lt;input type="text" name="rate" value="6"size="8"{amp}gt;{amp}lt;/td{amp}gt;{amp}lt;/tr{amp}gt; {amp}lt;tr{amp}gt;{amp}lt;td{amp}gt;Subtotal: {amp}lt;/td{amp}gt;{amp}lt;td{amp}gt;{amp}lt;input type="text" name="subtotal"size="8"{amp}gt; {amp}lt;/td{amp}gt;{amp}lt;/tr{amp}gt; {amp}lt;tr{amp}gt;{amp}lt;td{amp}gt;Order Tax: {amp}lt;/td{amp}gt;{amp}lt;td{amp}gt;{amp}lt;input type="text" name="tax"size="8"{amp}gt;{amp}lt;/td{amp}gt; {amp}lt;/tr{amp}gt; {amp}lt;tr{amp}gt;{amp}lt;td{amp}gt;Order Total: {amp}lt;/td{amp}gt;{amp}lt;td{amp}gt;{amp}lt;input type="text" name="total"size="8"{amp}gt; {amp}lt;/td{amp}gt;{amp}lt;/tr{amp}gt; {amp}lt;tr{amp}gt;{amp}lt;td{amp}gt; {amp}lt;/td{amp}gt;{amp}lt;td{amp}gt;{amp}lt;input type="button" onClick="update(this.form)" value="Click Me"{amp}gt;{amp}lt;/td{amp}gt;{amp}lt;/tr{amp}gt; {amp}lt;/table{amp}gt; {amp}lt;/form{amp}gt; {amp}lt;br{amp}gt; {amp}lt;script language="JavaScript"{amp}gt;{amp}lt;!-- function cent(amount) { // returns the amount in the .99 format return (amount == Math.floor(amount)) ? amount   '.00' : ( (amount*10 == Math.floor(amount*10)) ? amount   '0' : amount); } function update(form) { var subtotal = (form.quantity.value - 0) * (form.unitcost.value - 0)  (form.quantity1.value - 0) * (form.unitcost1.value - 0)  (form.quantity2.value - 0) * (form.unitcost2.value - 0)  (form.quantity3.value - 0) * (form.unitcost3.value - 0); subtotal = Math.floor(subtotal * 1000)/1000; form.subtotal.value = '$'   cent(subtotal); var tax = subtotal / 100 * (form.rate.value - 0); tax = Math.floor(tax * 1000)/1000; form.tax.value = '$'   cent(tax); total = subtotal   tax; total = Math.floor(total * 1000)/1000; form.total.value = '$'   cent(total); } //--{amp}gt;{amp}lt;/script{amp}gt; {amp}lt;h4{amp}gt;Red Robins{amp}lt;/h4{amp}gt; {amp}lt;form{amp}gt; {amp}lt;table{amp}gt; {amp}lt;tr{amp}gt;{amp}lt;td{amp}gt;Fish and Chips Quantity: {amp}lt;/td{amp}gt;{amp}lt;td{amp}gt;{amp}lt;input type="text" name="quantity" size="8"{amp}gt;{amp}lt;/td{amp}gt;{amp}lt;/tr{amp}gt; {amp}lt;tr{amp}gt;{amp}lt;td{amp}gt;Clucks and Shrimp Quantity: {amp}lt;/td{amp}gt;{amp}lt;td{amp}gt;{amp}lt;input type="text" name="quantity1" size="8"{amp}gt;{amp}lt;/td{amp}gt;{amp}lt;/tr{amp}gt; {amp}lt;tr{amp}gt;{amp}lt;td{amp}gt;Salmon Quantity: {amp}lt;/td{amp}gt;{amp}lt;td{amp}gt;{amp}lt;input type="text" name="quantity2" size="8"{amp}gt;{amp}lt;/td{amp}gt;{amp}lt;/tr{amp}gt; {amp}lt;tr{amp}gt;{amp}lt;td{amp}gt;Cheeseburger Quantity: {amp}lt;/td{amp}gt;{amp}lt;td{amp}gt;{amp}lt;input type="text" name="quantity3" size="8"{amp}gt;{amp}lt;/td{amp}gt;{amp}lt;/tr{amp}gt; {amp}lt;tr{amp}gt;{amp}lt;td{amp}gt;Fish and Chips Cost: {amp}lt;/td{amp}gt;{amp}lt;td{amp}gt;{amp}lt;input type="text" name="unitcost" value="9.99"size="8"{amp}gt;{amp}lt;/td{amp}gt;{amp}lt;/tr{amp}gt; {amp}lt;tr{amp}gt;{amp}lt;td{amp}gt;Clucks and Shrimp Cost: {amp}lt;/td{amp}gt;{amp}lt;td{amp}gt;{amp}lt;input type="text" name="unitcost1" value="13.29"size="8"{amp}gt;{amp}lt;/td{amp}gt;{amp}lt;/tr{amp}gt; {amp}lt;tr{amp}gt;{amp}lt;td{amp}gt;Salmon Cost: {amp}lt;/td{amp}gt;{amp}lt;td{amp}gt;{amp}lt;input type="text" name="unitcost2" value="12.79"size="8"{amp}gt;{amp}lt;/td{amp}gt;{amp}lt;/tr{amp}gt; {amp}lt;tr{amp}gt;{amp}lt;td{amp}gt;Cheeseburger Cost: {amp}lt;/td{amp}gt;{amp}lt;td{amp}gt;{amp}lt;input type="text" name="unitcost3" value="8.19"size="8"{amp}gt;{amp}lt;/td{amp}gt;{amp}lt;/tr{amp}gt; {amp}lt;tr{amp}gt;{amp}lt;td{amp}gt;Tax Rate (%): {amp}lt;/td{amp}gt;{amp}lt;td{amp}gt;{amp}lt;input type="text" name="rate" value="6"size="8"{amp}gt;{amp}lt;/td{amp}gt;{amp}lt;/tr{amp}gt; {amp}lt;tr{amp}gt;{amp}lt;td{amp}gt;Subtotal: {amp}lt;/td{amp}gt;{amp}lt;td{amp}gt;{amp}lt;input type="text" name="subtotal"size="8"{amp}gt; {amp}lt;/td{amp}gt;{amp}lt;/tr{amp}gt; {amp}lt;tr{amp}gt;{amp}lt;td{amp}gt;Order Tax: {amp}lt;/td{amp}gt;{amp}lt;td{amp}gt;{amp}lt;input type="text" name="tax"size="8"{amp}gt;{amp}lt;/td{amp}gt; {amp}lt;/tr{amp}gt; {amp}lt;tr{amp}gt;{amp}lt;td{amp}gt;Order Total: {amp}lt;/td{amp}gt;{amp}lt;td{amp}gt;{amp}lt;input type="text" name="total"size="8"{amp}gt; {amp}lt;/td{amp}gt;{amp}lt;/tr{amp}gt; {amp}lt;tr{amp}gt;{amp}lt;td{amp}gt; {amp}lt;/td{amp}gt;{amp}lt;td{amp}gt;{amp}lt;input type="button" onClick="update(this.form)" value="Click Me"{amp}gt;{amp}lt;/td{amp}gt;{amp}lt;/tr{amp}gt; {amp}lt;/table{amp}gt; {amp}lt;/form{amp}gt; {amp}lt;br{amp}gt; {amp}lt;script language="JavaScript"{amp}gt;{amp}lt;!-- function cent(amount) { // returns the amount in the .99 format return (amount == Math.floor(amount)) ? amount   '.00' : ( (amount*10 == Math.floor(amount*10)) ? amount   '0' : amount); } function update(form) { var subtotal = (form.quantity.value - 0) * (form.unitcost.value - 0)  (form.quantity1.value - 0) * (form.unitcost1.value - 0)  (form.quantity2.value - 0) * (form.unitcost2.value - 0)  (form.quantity3.value - 0) * (form.unitcost3.value - 0); subtotal = Math.floor(subtotal * 1000)/1000; form.subtotal.value = '$'   cent(subtotal); var tax = subtotal / 100 * (form.rate.value - 0); tax = Math.floor(tax * 1000)/1000; form.tax.value = '$'   cent(tax); total = subtotal   tax; total = Math.floor(total * 1000)/1000; form.total.value = '$'   cent(total); } //--{amp}gt;{amp}lt;/script{amp}gt; {amp}lt;h4{amp}gt;Bob Evans {amp}lt;/h4{amp}gt; {amp}lt;form{amp}gt; {amp}lt;table{amp}gt; {amp}lt;tr{amp}gt;{amp}lt;td{amp}gt;Homestead Breakfast Quantity: {amp}lt;/td{amp}gt;{amp}lt;td{amp}gt;{amp}lt;input type="text" name="quantity" size="8"{amp}gt;{amp}lt;/td{amp}gt;{amp}lt;/tr{amp}gt; {amp}lt;tr{amp}gt;{amp}lt;td{amp}gt;Fruitiful Farmer Quantity: {amp}lt;/td{amp}gt;{amp}lt;td{amp}gt;{amp}lt;input type="text" name="quantity1" size="8"{amp}gt;{amp}lt;/td{amp}gt;{amp}lt;/tr{amp}gt; {amp}lt;tr{amp}gt;{amp}lt;td{amp}gt;Chicken Tenders Quantity: {amp}lt;/td{amp}gt;{amp}lt;td{amp}gt;{amp}lt;input type="text" name="quantity2" size="8"{amp}gt;{amp}lt;/td{amp}gt;{amp}lt;/tr{amp}gt; {amp}lt;tr{amp}gt;{amp}lt;td{amp}gt;Meatloaf Quantity: {amp}lt;/td{amp}gt;{amp}lt;td{amp}gt;{amp}lt;input type="text" name="quantity3" size="8"{amp}gt;{amp}lt;/td{amp}gt;{amp}lt;/tr{amp}gt; {amp}lt;tr{amp}gt;{amp}lt;td{amp}gt;Homestead Breakfast Cost: {amp}lt;/td{amp}gt;{amp}lt;td{amp}gt;{amp}lt;input type="text" name="unitcost" value="7.99"size="8"{amp}gt;{amp}lt;/td{amp}gt;{amp}lt;/tr{amp}gt; {amp}lt;tr{amp}gt;{amp}lt;td{amp}gt;Fruitiful Farmer Cost: {amp}lt;/td{amp}gt;{amp}lt;td{amp}gt;{amp}lt;input type="text" name="unitcost1" value="8.99"size="8"{amp}gt;{amp}lt;/td{amp}gt;{amp}lt;/tr{amp}gt; {amp}lt;tr{amp}gt;{amp}lt;td{amp}gt;Chicken Tenders Cost: {amp}lt;/td{amp}gt;{amp}lt;td{amp}gt;{amp}lt;input type="text" name="unitcost2" value="11.49"size="8"{amp}gt;{amp}lt;/td{amp}gt;{amp}lt;/tr{amp}gt; {amp}lt;tr{amp}gt;{amp}lt;td{amp}gt;Meatloaf Cost: {amp}lt;/td{amp}gt;{amp}lt;td{amp}gt;{amp}lt;input type="text" name="unitcost3" value="12.99"size="8"{amp}gt;{amp}lt;/td{amp}gt;{amp}lt;/tr{amp}gt; {amp}lt;tr{amp}gt;{amp}lt;td{amp}gt;Tax Rate (%): {amp}lt;/td{amp}gt;{amp}lt;td{amp}gt;{amp}lt;input type="text" name="rate" value="6"size="8"{amp}gt;{amp}lt;/td{amp}gt;{amp}lt;/tr{amp}gt; {amp}lt;tr{amp}gt;{amp}lt;td{amp}gt;Subtotal: {amp}lt;/td{amp}gt;{amp}lt;td{amp}gt;{amp}lt;input type="text" name="subtotal"size="8"{amp}gt; {amp}lt;/td{amp}gt;{amp}lt;/tr{amp}gt; {amp}lt;tr{amp}gt;{amp}lt;td{amp}gt;Order Tax: {amp}lt;/td{amp}gt;{amp}lt;td{amp}gt;{amp}lt;input type="text" name="tax"size="8"{amp}gt;{amp}lt;/td{amp}gt; {amp}lt;/tr{amp}gt; {amp}lt;tr{amp}gt;{amp}lt;td{amp}gt;Order Total: {amp}lt;/td{amp}gt;{amp}lt;td{amp}gt;{amp}lt;input type="text" name="total"size="8"{amp}gt; {amp}lt;/td{amp}gt;{amp}lt;/tr{amp}gt; {amp}lt;tr{amp}gt;{amp}lt;td{amp}gt; {amp}lt;/td{amp}gt;{amp}lt;td{amp}gt;{amp}lt;input type="button" onClick="update(this.form)" value="Click Me"{amp}gt;{amp}lt;/td{amp}gt;{amp}lt;/tr{amp}gt; {amp}lt;/table{amp}gt; {amp}lt;/form{amp}gt; {amp}lt;br{amp}gt; {amp}lt;script language="JavaScript"{amp}gt;{amp}lt;!-- function cent(amount) { // returns the amount in the .99 format return (amount == Math.floor(amount)) ? amount   '.00' : ( (amount*10 == Math.floor(amount*10)) ? amount   '0' : amount); } function update(form) { var subtotal = (form.quantity.value - 0) * (form.unitcost.value - 0)  (form.quantity1.value - 0) * (form.unitcost1.value - 0)  (form.quantity2.value - 0) * (form.unitcost2.value - 0)  (form.quantity3.value - 0) * (form.unitcost3.value - 0); subtotal = Math.floor(subtotal * 1000)/1000; form.subtotal.value = '$'   cent(subtotal); var tax = subtotal / 100 * (form.rate.value - 0); tax = Math.floor(tax * 1000)/1000; form.tax.value = '$'   cent(tax); total = subtotal   tax; total = Math.floor(total * 1000)/1000; form.total.value = '$'   cent(total); } //--{amp}gt;{amp}lt;/script{amp}gt; {amp}lt;h4{amp}gt;The Brown Jug{amp}lt;/h4{amp}gt; {amp}lt;form{amp}gt; {amp}lt;table{amp}gt; {amp}lt;tr{amp}gt;{amp}lt;td{amp}gt;Italian Club Quantity: {amp}lt;/td{amp}gt;{amp}lt;td{amp}gt;{amp}lt;input type="text" name="quantity" size="8"{amp}gt;{amp}lt;/td{amp}gt;{amp}lt;/tr{amp}gt; {amp}lt;tr{amp}gt;{amp}lt;td{amp}gt;Tuna Salad Sandwhich Quantity: {amp}lt;/td{amp}gt;{amp}lt;td{amp}gt;{amp}lt;input type="text" name="quantity1" size="8"{amp}gt;{amp}lt;/td{amp}gt;{amp}lt;/tr{amp}gt; {amp}lt;tr{amp}gt;{amp}lt;td{amp}gt;Parmigiana Sandwhich Quantity: {amp}lt;/td{amp}gt;{amp}lt;td{amp}gt;{amp}lt;input type="text" name="quantity2" size="8"{amp}gt;{amp}lt;/td{amp}gt;{amp}lt;/tr{amp}gt; {amp}lt;tr{amp}gt;{amp}lt;td{amp}gt;Potato Skins Quantity: {amp}lt;/td{amp}gt;{amp}lt;td{amp}gt;{amp}lt;input type="text" name="quantity3" size="8"{amp}gt;{amp}lt;/td{amp}gt;{amp}lt;/tr{amp}gt; {amp}lt;tr{amp}gt;{amp}lt;td{amp}gt;Italian Club Cost: {amp}lt;/td{amp}gt;{amp}lt;td{amp}gt;{amp}lt;input type="text" name="unitcost" value="9.99"size="8"{amp}gt;{amp}lt;/td{amp}gt;{amp}lt;/tr{amp}gt; {amp}lt;tr{amp}gt;{amp}lt;td{amp}gt;Tuna Salad Sanwhich Cost: {amp}lt;/td{amp}gt;{amp}lt;td{amp}gt;{amp}lt;input type="text" name="unitcost1" value="7.99"size="8"{amp}gt;{amp}lt;/td{amp}gt;{amp}lt;/tr{amp}gt; {amp}lt;tr{amp}gt;{amp}lt;td{amp}gt;Parmigiana Sandwhich Cost: {amp}lt;/td{amp}gt;{amp}lt;td{amp}gt;{amp}lt;input type="text" name="unitcost2" value="8.99"size="8"{amp}gt;{amp}lt;/td{amp}gt;{amp}lt;/tr{amp}gt; {amp}lt;tr{amp}gt;{amp}lt;td{amp}gt;Potato Skins Cost: {amp}lt;/td{amp}gt;{amp}lt;td{amp}gt;{amp}lt;input type="text" name="unitcost3" value="8.50"size="8"{amp}gt;{amp}lt;/td{amp}gt;{amp}lt;/tr{amp}gt; {amp}lt;tr{amp}gt;{amp}lt;td{amp}gt;Tax Rate (%): {amp}lt;/td{amp}gt;{amp}lt;td{amp}gt;{amp}lt;input type="text" name="rate" value="6"size="8"{amp}gt;{amp}lt;/td{amp}gt;{amp}lt;/tr{amp}gt; {amp}lt;tr{amp}gt;{amp}lt;td{amp}gt;Subtotal: {amp}lt;/td{amp}gt;{amp}lt;td{amp}gt;{amp}lt;input type="text" name="subtotal"size="8"{amp}gt; {amp}lt;/td{amp}gt;{amp}lt;/tr{amp}gt; {amp}lt;tr{amp}gt;{amp}lt;td{amp}gt;Order Tax: {amp}lt;/td{amp}gt;{amp}lt;td{amp}gt;{amp}lt;input type="text" name="tax"size="8"{amp}gt;{amp}lt;/td{amp}gt; {amp}lt;/tr{amp}gt; {amp}lt;tr{amp}gt;{amp}lt;td{amp}gt;Order Total: {amp}lt;/td{amp}gt;{amp}lt;td{amp}gt;{amp}lt;input type="text" name="total"size="8"{amp}gt; {amp}lt;/td{amp}gt;{amp}lt;/tr{amp}gt; {amp}lt;tr{amp}gt;{amp}lt;td{amp}gt; {amp}lt;/td{amp}gt;{amp}lt;td{amp}gt;{amp}lt;input type="button" onClick="update(this.form)" value="Click Me"{amp}gt;{amp}lt;/td{amp}gt;{amp}lt;/tr{amp}gt; {amp}lt;/table{amp}gt; {amp}lt;/form{amp}gt; {amp}lt;/head{amp}gt; {amp}lt;body{amp}gt; extern double a[3][5]; // Array declaration function add() { var FoodItems = [ [ document.getElementById('input5'), document.getElementById('input6'), document.getElementById('input7') ], [ document.getElementById('input1'), document.getElementById('input3'), document.getElementById('input10') ] ]; var result = []; for (var i = 0; i {amp}lt; els.length; i  ) { result[result.length] = parseInt(els[0][i].value) - parseInt(els[1] [i].value); } alert(result.join(' ')); } {amp}lt;input text="text" value="Resturant Name" id="input5"/{amp}gt; {amp}lt;input text="text" value="Item Name" id="input6"/{amp}gt; {amp}lt;input text="text" value="Item price" id="input7"/{amp}gt; {amp}lt;br{amp}gt; {amp}lt;input text wrap ="text" value="Jimmy John's" id="input1"/{amp}gt; {amp}lt;input text wrap="text" value="Billy Club, Turkey Tom, Totally Tuna, The Veggie" id="input2"/{amp}gt; {amp}lt;input text="text" value="$8.09, $7.99, $9.49, $6.99 " id="input8"/{amp}gt; {amp}lt;br{amp}gt; {amp}lt;input text="text" value="Red Robins" id="input3"/{amp}gt; {amp}lt;input text="text" value="Fish and Chips, Clucks and Shrimp, Salmon, Cheeseburger" id="input4"/{amp}gt; {amp}lt;input text="text" value="$9.99, $13.29, $12.79, $8.19" id="input9"/{amp}gt; {amp}lt;br{amp}gt; {amp}lt;input text="text" value="Bob Evans" id="input10"/{amp}gt; {amp}lt;input text="text" value="Homestead Breakfast, Fruitiful Farmer, Chicken Tenders, Meatloaf" id="input11"/{amp}gt; {amp}lt;input text="text" value="$7.99, $8.99, $11.49, $12.99" id="input12"/{amp}gt; {amp}lt;br{amp}gt; {amp}lt;input text="text" value="The Brown Jug" id="input13"/{amp}gt; {amp}lt;input text="text" value="Italian Club, Tuna Salad, Parm Sandwhich, Potato Skin" id="input14"/{amp}gt; {amp}lt;input text="text" value="$9.99, $7.99, $8.99, $8.50" id="input15"/{amp}gt; console.log("FoodItems"); localStorage.setItem("FoodItems", JSON.stringify(FoodItems)); {amp}lt;!-- Header --{amp}gt; Door Crash Order Page {amp}lt;hr{amp}gt; {amp}lt;!-- Menu --{amp}gt; {amp}lt;div class="menu"{amp}gt; {amp}lt;a href="DoorCrash-Main.html"{amp}gt;Main Page{amp}lt;/a{amp}gt; {amp}lt;a href="DoorCrash-Restaurants.html"{amp}gt;Restaurants Page{amp}lt;/a{amp}gt; {amp}lt;a href="DoorCrash-Order.html"{amp}gt;Order Page{amp}lt;/a{amp}gt; {amp}lt;/div{amp}gt; {amp}lt;hr{amp}gt; {amp}lt;!-- Form --{amp}gt; {amp}lt;form method="get" enctype="application/x-www-form-urlencoded" action="http://www.tipjar.com/cgi-bin/test" {amp}gt; {amp}lt;label{amp}gt;Name: {amp}lt;/label{amp}gt; {amp}lt;input type="text" name="txtName" required{amp}gt; {amp}lt;br{amp}gt;{amp}lt;br{amp}gt; {amp}lt;label{amp}gt;Address: {amp}lt;/label{amp}gt; {amp}lt;input type="text" name="txtAddress" required{amp}gt; {amp}lt;br{amp}gt;{amp}lt;br{amp}gt; {amp}lt;label{amp}gt;Phone: {amp}lt;/label{amp}gt; {amp}lt;input type="tel" name="inpPhone" required{amp}gt; {amp}lt;br{amp}gt;{amp}lt;br{amp}gt; {amp}lt;fieldset class="fieldsetStyle"{amp}gt; {amp}lt;legend{amp}gt;Restaurant:{amp}lt;/legend{amp}gt; {amp}lt;input type="radio" name="rbRestaurant" value="BobEvans" class="radioButtonStyle"{amp}gt; Bob Evans{amp}lt;br{amp}gt; {amp}lt;input type="radio" name="rbRestaurant" value="BrownJug" class="radioButtonStyle"{amp}gt; Brown Jug{amp}lt;br{amp}gt; {amp}lt;input type="radio" name="rbRestaurant" value="JimmyJohns" class="radioButtonStyle"{amp}gt; Jimmy Johns{amp}lt;br{amp}gt; {amp}lt;input type="radio" name="rbRestaurant" value="RedRobin" class="radioButtonStyle"{amp}gt; Red Robin{amp}lt;br{amp}gt; {amp}lt;/fieldset{amp}gt; {amp}lt;br{amp}gt; {amp}lt;!-- Footer --{amp}gt; {amp}lt;hr{amp}gt; Door Crash, 1204 South University Avenue, Ann Arbor, MI 48104, MI {amp}amp;nbsp;{amp}amp;nbsp;734-761-3355{amp}amp;nbsp;{amp}amp;nbsp;Copyright {amp}amp;#169; 2019 {amp}lt;hr{amp}gt; {amp}lt;/body{amp}gt; {amp}lt;/html{amp}gt; 
Понравилась статья? Поделиться с друзьями:
JavaScript & TypeScript
Adblock
detector