Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

This is the assignment I need help with: Thank you very much in advance for your

ID: 3802260 • Letter: T

Question

This is the assignment I need help with:

Thank you very much in advance for your assistance.

Write an HTML document named lightbulbs.html to create a form with the following capabilities. a. A text widget to collect the user's name b. Four checkboxes, one each for the following items: i. A 25-watt light bulb for $2.39 ii. A 40-watt light bulb for $4.29 iii. A 60-watt long-life light bulb for $3.95 iv. A 100-watt long-life light bulb for $7.49 c. A collection of four radio buttons that are labeled as follows: i. Visa. ii. Master Card iii. Discover iv. Check Write a PHP script named lightbulbs.php to handle the data from the form described in lightbulbs.html that computes the cost of each product, the total number of items ordered, and the total cost of the order after adding 6.2 percent sales tax. The name, unit, price, number ordered, and total cost for each product are presented to the client in a table defined with interwoven HTML markup and PHP script. Notice the table structure is described with the HTML, but the contents of some of the data cells are defined with PHP.

Explanation / Answer

//lightbulbs.html

<!DOCTYPE html>
<html>
<head>
<title>Text Input Control</title>
</head>
<body>
<form action="">
Username: <input type="text" name="username" />
<br>
<br>
<input type="checkbox" name="vehicle" value="cb1">A 25-Watt light bulb at $2.39<br>
<input type="checkbox" name="vehicle" value="cb2">A 40-Watt light bulb at $4.29<br>
<input type="checkbox" name="vehicle" value="cb3">A 60-Watt long-life light bulb at $3.95<br>
<input type="checkbox" name="vehicle" value="cb4">A 100-Watt long-life light bulb at $7.49<br>
<br>
<br>
<input type="radio" name="payment" value="Visa" checked>Visa<br>
<input type="radio" name="payment" value="Master Card">Master Card<br>
<input type="radio" name="payment" value="Discover">Discover <br>
<input type="radio" name="payment" value="Check">Check <br>
</form>
</body>
</html>

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote