-
Notifications
You must be signed in to change notification settings - Fork 0
/
addAppliance.html
28 lines (26 loc) · 1.07 KB
/
addAppliance.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Add Appliance</title>
<link rel="stylesheet" href="cssappliance.css">
</head>
<body>
<h1>Add Your Electronic Appliance</h1>
<form id="applianceForm">
<label for="applianceType">Appliance Type:</label>
<select id="applianceType" name="applianceType" required>
<option value="">Select an appliance...</option>
<option value="Fan">Fan</option>
<option value="Air Conditioner">Air Conditioner</option>
<option value="Refrigerator">Refrigerator</option>
<option value="Other">Other</option>
</select>
<input type="text" id="otherAppliance" name="otherAppliance" placeholder="If other, specify here" style="display:none;">
<label for="energyUsed">Energy Used (in watts):</label>
<input type="number" id="energyUsed" name="energyUsed" required>
<button type="submit">Done</button>
</form>
<script src="applicationapp.js"></script>
</body>
</html>