forked from WDI-SEA/temperature-converter-dom
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
33 lines (28 loc) · 835 Bytes
/
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="css/style.css">
<title>Temperature Converter Dom</title>
</head>
<body>
<h1>Temperature Converter</h1>
<div>
<input id="tempInput" placeholder="enter a temperature" type="text" />
</div>
<div>
<input type ="radio" id="fahrenheit" name="F" value="F">
<label for="F">F</label>
<input type ="radio" id="C" name="C" value="C">
<label for="C">C</label>
</div>
<button id="submitButton">Submit</button>
<button id="clearButton">Clear</button>
<div>
<input id="tempConversion" type="rectangle"/>
<label for="display"></label>
</div>
<script type="text/javascript" src="js/script.js"></script>
</body>
</html>