-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
50 lines (49 loc) · 2.74 KB
/
index.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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Microwave Cooking Time Converter</title>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-aFq/bzH65dt+w6FI2ooMVUpc+21e0SRygnTpmBvdBgSdnuTN7QbdgL+OapgHtvPp" crossorigin="anonymous">
<link rel="stylesheet" href="styles.css">
</head>
<body>
<div class="container">
<h1 class="text-center mb-4">Microwave Cooking Time Converter</h1>
<p>
This Microwave Cooking Time Converter helps you easily adjust cooking times for microwave meals based on different wattages. Follow these simple steps to convert your meal's cooking time:
</p>
<ol>
<li>Enter the original cooking time (in minutes and seconds) provided in the meal's instructions.</li>
<li>Enter the wattage specified in the meal's instructions.</li>
<li>Enter the wattage of the microwave you will be using.</li>
<li>Click "Calculate" to get the new cooking time based on your microwave's wattage.</li>
</ol>
<form id="cooking-time-form">
<div class="mb-3">
<label for="originalTimeMinutes">Original Cooking Time (MM:SS)</label>
<div class="d-flex">
<input type="number" class="form-control mr-2" id="originalTimeMinutes" placeholder="MM" min="0" step="1">
<input type="number" class="form-control" id="originalTimeSeconds" placeholder="SS" min="0" step="1" max="59">
</div>
</div>
<div class="mb-3">
<label for="original-wattage" class="form-label">Original Wattage (watts)</label>
<input type="number" class="form-control" id="original-wattage" placeholder="Enter original wattage">
</div>
<div class="mb-3">
<label for="new-wattage" class="form-label">New Wattage (watts)</label>
<input type="number" class="form-control" id="new-wattage" placeholder="Enter new wattage">
</div>
<button type="submit" class="btn btn-primary w-100">Calculate New Cooking Time</button>
</form>
<div class="mt-4 text-center">
<h4>New Cooking Time:</h4>
<h2 id="result">--:--</h2>
</div>
</div>
<script src="script.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-qKXV1j0HvMUeCBQ+QVp7JcfGl760yU08IQ+GpUo5hlbpg51QRiuqHAJz8+BrxE/N" crossorigin="anonymous"></script>
</body>
</html>