Question Hey there! I’m trying to create a mobile using HTML and JSON. Any help would be much appreceiated. A REST API has been prepared to facilitate the management of MegaMax Sales, so that you do not have to worry about the storage of data. What you need to do is to make use of the API to implement the required functional requirements. Need to make a JSON file that uses the HTML provided to complete the FR's The Functional Requirements (FR) for this app are as follows: FR1 The app should make an order as if the salesperson is at a client site with a valid OUCU and password for the salesperson and the client id: FR1.1 Validating the OUCU starts with a letter and ends with a number. FR1.2 Navigating the widgets catalogue (with Previous and Next buttons) and display of widget images, in addition to the description and asking price. FR1.3 Adding the currently displayed widget to the order items, including the amount and the agreed price. FR1.4 Displaying the sum of ordered items including VAT at a rate of 20%. FR1.5 The order is saved to the web service. FR2 For the salesperson to review their performance: FR2.1 Displaying a Map for the area around the current location of the salesperson when placing or viewing an order. FR2.2 When clicking on Begin Order to start an empty order, displaying the orders along the day’s journey with markers, where the location of clients’ addresses is used to place the marker. HTML Code Below: <html> <head> <meta name="format-detection" content="telephone=no"> <meta name="msapplication-tap-highlight" content="no"> <meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width"> <meta http-equiv="Content-Security-Policy" content=""> <link rel="stylesheet" href="https://code.jquery.com/mobile/1.4.5/jquery.mobile-1.4.5.min.css"/> <script src="http://code.jquery.com/jquery-3.5.1.min.js"></script> <script src="https://js.api.here.com/v3/3.1/mapsjs-core.js" charset="utf-8"></script> <script src="https://js.api.here.com/v3/3.1/mapsjs-service.js" charset="utf-8"></script> <script src="https://js.api.here.com/v3/3.1/mapsjs-ui.js" type="text/javascript" charset="utf-8"></script> <link rel="stylesheet" type="text/css" href="https://js.api.here.com/v3/3.1/mapsjs-ui.css" /> <script src="https://js.api.here.com/v3/3.1/mapsjs-mapevents.js" type="text/javascript" charset="utf-8"></script> <title>MegaMax Sale</title> </head> <body> <div class="app"> <h1>MegaMax Sale</h1> <div> <!-- Question 1 --> <label>ID:</label> <input type="text" name="id"> <label>Password:</label> <input type="text" name="password"> <br> <label>Client:</label> <input type="number" name="client"> <button type="button" onclick="controller.beginorder()">Begin Order</button> <br> </div> <div> <!-- Question 2. Widget navigation buttons --> <button type="previous" onclick="controller.previous()">Previous</button> <button type="button" onclick="controller.next()">Next</button> <label>Number:</label> <input type="number" name="number"> </div> <div> <!-- Question 3. Widget display--> <label>Price:</label> <input type="decimal" name=""> <br> </div> <div> <!-- Question 4. Order navigation buttons and display --> <button type="button" onclick="controller.add()">Add to Order</button> <button type="button" onclick="controller.end()">End Order</button> </div> <!-- Question 5. Map canvas --> </div> <script type="text/javascript" src="cordova.js"></script> <script type="text/javascript" src="js/index.js"></script> </body> </html>

6LMPRM The Asker · Computer Science

Hey there! I’m trying to create a mobile using HTML and JSON. Any help would be much appreceiated.

A REST API has been prepared to facilitate the management of MegaMax Sales, so that you do not have to worry about the storage of data. What you need to do is to make use of the API to implement the required functional requirements.

Need to make a JSON file that uses the HTML provided to complete the FR's

The Functional Requirements (FR) for this app are as follows:

FR1 The app should make an order as if the salesperson is at a client site with a valid OUCU and password for the salesperson and the client id:

FR1.1 Validating the OUCU starts with a letter and ends with a number.

FR1.2 Navigating the widgets catalogue (with Previous and Next buttons) and display of widget images, in addition to the description and asking price.

FR1.3 Adding the currently displayed widget to the order items, including the amount and the agreed price.

FR1.4 Displaying the sum of ordered items including VAT at a rate of 20%.

FR1.5 The order is saved to the web service.

FR2 For the salesperson to review their performance:

FR2.1 Displaying a Map for the area around the current location of the salesperson when placing or viewing an order.

FR2.2 When clicking on Begin Order to start an empty order, displaying the orders along the day’s journey with markers, where the location of clients’ addresses is used to place the marker.

HTML Code Below:

<html>
<head>
<meta name="format-detection" content="telephone=no">
<meta name="msapplication-tap-highlight" content="no">
<meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width">
<meta http-equiv="Content-Security-Policy" content="">
<link rel="stylesheet" href="https://code.jquery.com/mobile/1.4.5/jquery.mobile-1.4.5.min.css"/>
<script src="http://code.jquery.com/jquery-3.5.1.min.js"></script>
<script src="https://js.api.here.com/v3/3.1/mapsjs-core.js" charset="utf-8"></script>
<script src="https://js.api.here.com/v3/3.1/mapsjs-service.js" charset="utf-8"></script>
<script src="https://js.api.here.com/v3/3.1/mapsjs-ui.js" type="text/javascript" charset="utf-8"></script>
<link rel="stylesheet" type="text/css" href="https://js.api.here.com/v3/3.1/mapsjs-ui.css" />
<script src="https://js.api.here.com/v3/3.1/mapsjs-mapevents.js" type="text/javascript" charset="utf-8"></script>
<title>MegaMax Sale</title>
</head>
<body>
<div class="app">
<h1>MegaMax Sale</h1>
<div>
<!-- Question 1 -->
<label>ID:</label>
<input type="text" name="id">
<label>Password:</label>
<input type="text" name="password">
<br>
<label>Client:</label>
<input type="number" name="client">
<button type="button" onclick="controller.beginorder()">Begin Order</button>
<br>
</div>
<div>
<!-- Question 2. Widget navigation buttons -->
<button type="previous" onclick="controller.previous()">Previous</button>
<button type="button" onclick="controller.next()">Next</button>
<label>Number:</label>
<input type="number" name="number">
</div>
<div>
<!-- Question 3. Widget display-->
<label>Price:</label>
<input type="decimal" name="">
<br>
</div>
<div>
<!-- Question 4. Order navigation buttons and display -->
<button type="button" onclick="controller.add()">Add to Order</button>
<button type="button" onclick="controller.end()">End Order</button>

</div>
<!-- Question 5. Map canvas -->
</div>
<script type="text/javascript" src="cordova.js"></script>
<script type="text/javascript" src="js/index.js"></script>
</body>
</html>

Transcribed Image Text: Hey there! I’m trying to create a mobile using HTML and JSON. Any help would be much appreceiated. A REST API has been prepared to facilitate the management of MegaMax Sales, so that you do not have to worry about the storage of data. What you need to do is to make use of the API to implement the required functional requirements. Need to make a JSON file that uses the HTML provided to complete the FR's The Functional Requirements (FR) for this app are as follows: FR1 The app should make an order as if the salesperson is at a client site with a valid OUCU and password for the salesperson and the client id: FR1.1 Validating the OUCU starts with a letter and ends with a number. FR1.2 Navigating the widgets catalogue (with Previous and Next buttons) and display of widget images, in addition to the description and asking price. FR1.3 Adding the currently displayed widget to the order items, including the amount and the agreed price. FR1.4 Displaying the sum of ordered items including VAT at a rate of 20%. FR1.5 The order is saved to the web service. FR2 For the salesperson to review their performance: FR2.1 Displaying a Map for the area around the current location of the salesperson when placing or viewing an order. FR2.2 When clicking on Begin Order to start an empty order, displaying the orders along the day’s journey with markers, where the location of clients’ addresses is used to place the marker. HTML Code Below: MegaMax Sale

MegaMax Sale




More
Transcribed Image Text: Hey there! I’m trying to create a mobile using HTML and JSON. Any help would be much appreceiated. A REST API has been prepared to facilitate the management of MegaMax Sales, so that you do not have to worry about the storage of data. What you need to do is to make use of the API to implement the required functional requirements. Need to make a JSON file that uses the HTML provided to complete the FR's The Functional Requirements (FR) for this app are as follows: FR1 The app should make an order as if the salesperson is at a client site with a valid OUCU and password for the salesperson and the client id: FR1.1 Validating the OUCU starts with a letter and ends with a number. FR1.2 Navigating the widgets catalogue (with Previous and Next buttons) and display of widget images, in addition to the description and asking price. FR1.3 Adding the currently displayed widget to the order items, including the amount and the agreed price. FR1.4 Displaying the sum of ordered items including VAT at a rate of 20%. FR1.5 The order is saved to the web service. FR2 For the salesperson to review their performance: FR2.1 Displaying a Map for the area around the current location of the salesperson when placing or viewing an order. FR2.2 When clicking on Begin Order to start an empty order, displaying the orders along the day’s journey with markers, where the location of clients’ addresses is used to place the marker. HTML Code Below: MegaMax Sale

MegaMax Sale