-
Notifications
You must be signed in to change notification settings - Fork 0
/
popup.html
36 lines (36 loc) · 1.43 KB
/
popup.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
<!DOCTYPE html>
<html>
<head>
<title>Unit Converter</title>
<link rel="stylesheet" type="text/css" href="styles.css">
</head>
<body>
<h1>Unit Converter</h1>
<div class="converter">
<div class="input-group">
<label for="value">Value:</label>
<input type="number" id="value" placeholder="Enter value" />
</div>
<div class="input-group">
<label for="unit">Convert from:</label>
<select id="unit">
<option value="CelsiusToFahrenheit">Celsius to Fahrenheit</option>
<option value="KilometersToMiles">Kilometers to Miles</option>
<option value="MetersToFeet">Meters to Feet</option>
<option value="GramsToOunces">Grams to Ounces</option>
<option value="LitersToGallons">Liters to Gallons</option>
<option value="KilogramsToPounds">Kilograms to Pounds</option>
<option value="CelsiusToKelvin">Celsius to Kelvin</option>
<option value="MillilitersToTeaspoons">Milliliters to Teaspoons</option>
<option value="MillilitersToTablespoons">Milliliters to Tablespoons</option>
<option value="HectaresToAcres">Hectares to Acres</option>
<option value="JoulesToCalories">Joules to Calories</option>
<option value="PascalsToBars">Pascals to Bars</option>
</select>
</div>
<button id="convert">Convert</button>
<p id="result"></p>
</div>
<script src="popup.js"></script>
</body>
</html>