The following HTML page (Figure 1), when runs, will show a form (Figure 2) for the entry of a customer firstname and lastname, a credit code, and existing balance amount. Customer Credit Check Firstname: Lastname: Select a status code Or Enter a balance amount Balance amount: Click on the submit button to determine the status level of the customer. a. An example of the results of the customer credit check shown in a table format
The following HTML page (Figure 1), when runs, will show a form (Figure 2) for the entry of a customer firstname and lastname, a credit code, and existing balance amount.
<!DOCTYPE html>
<html>
<body>
<h2>Customer Credit Check</h2>
<form action="action_page.php" method="post">
<label for="firstname">Firstname: </label>
<input type="text" id="fname" name="fname"><br><br>
<label for="lastname">Lastname: </label>
<input type="text" id="lname" name="lname"><br><br>
<p>Select a status code</p>
<label for="statuscode"Choose a code: </label>
<select id="statuscode" name="statuscode" required>
<option value="">None</option>
<option value="A">A</option>
<option value="B">B</option>
<option value="C">C</option>
<option value="D">D</option>
</select>
<br><br>
<p> Or Enter a balance amount</p>
<label for="balance">Balance amount: </label>
<input type="number" id="amount" name="amount"><br><br>
<input type="submit" value="Submit">
</form>
<p>Click on the submit button to determine the status level of the customer. </p>
<br><br>
</body>
</html>
a.
An example of the results of the customer credit check shown in a table format
Step by step
Solved in 3 steps with 1 images