Answered step by step
Verified Expert Solution
Question
1 Approved Answer
This assignment requires you to complete a number of typical tasks that you would normally use JavaScript to solve. Each task is typical situation
This assignment requires you to complete a number of typical tasks that you would normally use JavaScript to solve. Each task is typical situation that requires you to apply specific JavaScript techniques and features. This is about functionality and not about design. We are not worried about colours, background or appearance. The focus is to produce the desired functionality as described in the tasks. Requirements for the assignment 1. Use JavaScript to create a web page that allows clients to order pizza. Clients should be able to select size, toppings, type of crust, and method of payment. Validate that the form is correct before submitting it. Upon submission, the form should display the user's selection (10 marks) 2. Use JavaScript to create a web page for a shuttle company. The client should be able to reserve a ticket using this page, selecting the date and time, pick-up and destination locations, and the method of payment from a list of available options. Your code should validate the form before it is submitted. (10 marks) 3. Create a JavaScript program that asks for a URL with the format protocol://part1.part2...extension and reads it into a string. Then, the code should split the string into an array. For example, if the URL is http://www.google.com, the resulting array must contain the following elements: http, www, google, and com. (10 marks) 4. Using JavaScript, write a simple app that uses the Google Maps API. Include a map centered on the user's current position. Also, include a map centered on a Canadian city of your choice. (10 marks) Marking Scheme Evaluation Elements Pizza order form and display Shuttle company reservation % of mark 10 10 URL format and parsing to an array Google Maps API TOTAL 10 10 40 What to Submit Your assignment must include the following: All source code, as well as all other files required for the proper functioning of . your application. Completed html, JavaScript and CSS files.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
To complete Task 1 Pizza Ordering Form follow these steps Step 1 HTML Structure Create an HTML file eg pizzaorderhtml with a form containing input fields for selecting pizza size toppings crust type a...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started