-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
61 lines (50 loc) · 1.99 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
51
52
53
54
55
56
57
58
59
60
61
<!DOCTYPE HTML>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon"
href="" />
<title>Recipe Converter</title>
<script src="./js/index.js"></script>
<script src="./js/style.js"></script>
<script src="./js/ingredients.js"></script>
<link rel="stylesheet" href="./style/root.css">
</head>
<body>
<div class="page-container">
<div class="header">
<span>Ingredient Converter</span>
</div>
<form id="save-recipe">
<label for="title">Recipe Name</label>
<input id="input-title" name="title" type="text">
<div class="column-split">
<div>
<label for="conversion">Convert to</label>
<select name="conversion" form="save-recipe">
<option value="metric">Metric</option>
<!-- <option value="us">US</option> -->
</select>
</div>
<div>
<label for="multiplier">Multiplier</label>
<input name="multiplier" type="text" value="1"/>
</div>
</div>
<label for="ingredients">Ingredients</label>
<textarea id="input-ingredients" name="ingredients" form="save-recipe"></textarea>
<input id="save" value="Save" type="button" preventdefault="on" onclick="App.saveRecipe(event);">
</form>
<form id="output">
<label for="ingredients-out">Converted amounts</label>
<textarea id="ingredients-out" name="ingredients-out" ></textarea>
</form>
<div class="history">
<button onclick="clearHistory(App);">Clear History</button>
<div id="history-list"></div>
</div>
<div class="footer">
</div>
</div>
</body>
</html>