In this lab work you are expected to use javascript to let user choose foods from menu and a reservation date. Also, user may indicate the amount of tip (You should use a textbox to let user enter the amount.). It is required to display menu using css so that user may see the menu. After menu is choosen and button is clicked, each food and drink that customer bought will be printed to a textbox including their price and total price to pay. In addition to this, reservation date will be printed to the textbox as well. When clear button is clicked, textbox will be cleared.

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question

In this lab work you are expected to use javascript to let user choose foods from menu
and a reservation date. Also, user may indicate the amount of tip (You should use a textbox to
let user enter the amount.). It is required to display menu using css so that user may see the
menu. After menu is choosen and button is clicked, each food and drink that customer
bought will be printed to a textbox including their price and total price to pay. In addition to
this, reservation date will be printed to the textbox as well. When clear button is clicked,
textbox will be cleared.

In this lab work you are expected to use javascript to let user choose foods from menu
and a reservation date. Also, user may indicate the amount of tip (You should use a textbox to
let user enter the amount.). It is required to display menu using css so that user may see the
menu. After menu is choosen and button is clicked, each food and drink that customer
bought will be printed to a textbox including their price and total price to pay. In addition to
this, reservation date will be printed to the textbox as well. When clear button is clicked,
textbox will be cleared.
HOME PAGE RESERVATION GALLERY CONTACT
SOUPS
ENTRÉE
SALADS
DESERTS
BEVERAGES
TARHANA.>12 TL
ISKENDER.>30 TL CHEF SALAD>13 TL
BAKLAVA>15 TL COLA>8 TL
MERCMEK12 TL
BEYTI>35 TL
AFGHAN SALAD>10 TL KADAYF.>13 TL FANTA>B TL
CREAM OF MUSHROOM SOUP15 TL ADANA-25 TL
CAESAR SALAD-12 TL KÜNEFE-12 TL SPRITE-8 TL
TORTLLASOLP.>15 TL
PIDE->22 TL
CHICKEN SALAD->14 TL SÜTLAÇ-8 TL
AYRAN7 TL
NOODLE SOUP.14 TL
SPAGHETTI17 TL CHLEAN SALAD 13 TL TIRAMISU->13 TL LEMONADE10 TL
SELECT FOODS AND DRINKS FROM MEND:
TARHANA SOUP V OEFF SALAD İSKENDER NADAYIF COLA
ENTER TIPAMOUNT: 15
DATE: 1.. 2
YOUR MENU AND BILL:
TARHANA->10 TL
CHEFF SALAD->13 IL
ISKENDER-> 3O TL
KADAYIF->30 TL
COLA->8 TL
PRICE: 91 + 15 TL TIP = 106
YOUR RESERVATION IS DONE ON 2021-03-31
CLICK THE BUTTON TO RETURN THE BILL
Clear
Ale//D/CENG2/2020-2021/web_development/web developmentavas cript/rejavahtmie.
Figure 1: Sample work.
Transcribed Image Text:In this lab work you are expected to use javascript to let user choose foods from menu and a reservation date. Also, user may indicate the amount of tip (You should use a textbox to let user enter the amount.). It is required to display menu using css so that user may see the menu. After menu is choosen and button is clicked, each food and drink that customer bought will be printed to a textbox including their price and total price to pay. In addition to this, reservation date will be printed to the textbox as well. When clear button is clicked, textbox will be cleared. HOME PAGE RESERVATION GALLERY CONTACT SOUPS ENTRÉE SALADS DESERTS BEVERAGES TARHANA.>12 TL ISKENDER.>30 TL CHEF SALAD>13 TL BAKLAVA>15 TL COLA>8 TL MERCMEK12 TL BEYTI>35 TL AFGHAN SALAD>10 TL KADAYF.>13 TL FANTA>B TL CREAM OF MUSHROOM SOUP15 TL ADANA-25 TL CAESAR SALAD-12 TL KÜNEFE-12 TL SPRITE-8 TL TORTLLASOLP.>15 TL PIDE->22 TL CHICKEN SALAD->14 TL SÜTLAÇ-8 TL AYRAN7 TL NOODLE SOUP.14 TL SPAGHETTI17 TL CHLEAN SALAD 13 TL TIRAMISU->13 TL LEMONADE10 TL SELECT FOODS AND DRINKS FROM MEND: TARHANA SOUP V OEFF SALAD İSKENDER NADAYIF COLA ENTER TIPAMOUNT: 15 DATE: 1.. 2 YOUR MENU AND BILL: TARHANA->10 TL CHEFF SALAD->13 IL ISKENDER-> 3O TL KADAYIF->30 TL COLA->8 TL PRICE: 91 + 15 TL TIP = 106 YOUR RESERVATION IS DONE ON 2021-03-31 CLICK THE BUTTON TO RETURN THE BILL Clear Ale//D/CENG2/2020-2021/web_development/web developmentavas cript/rejavahtmie. Figure 1: Sample work.
Expert Solution
steps

Step by step

Solved in 2 steps with 5 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY