forked from emgal-aguirre/Recipe-Generator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
96 lines (82 loc) · 3.76 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!--Import materialize.css-->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/css/materialize.min.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/js/materialize.min.js"></script>
<!-- Import fonts -->
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.8.1/css/all.css"
integrity="sha384-50oBUHEmvpQ+1lW4y57PTFmhCaXp0ML5d60M1M7uH2+nqUivzIebhndOJK28anvf" crossorigin="anonymous" />
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@500&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Libre+Baskerville:wght@700&display=swap" rel="stylesheet">
<!-- Link to CSS -->
<link rel="stylesheet" href="Assets/CSS/style.css" />
<!-- Link to jQuery -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<title>Recipe Generator</title>
</head>
<body>
<!-- nav bar with logo & website -->
<nav>
<div class="nav-wrapper">
<a href="#" class="left">randomrecipe.com</a>
<a id="currentDay" class="lead right"></a>
</div>
</nav>
<div class="container" id="header">
<h2>Random Recipe Generator!</h2>
<h6>Choose a desired meal type to receive a random recipe!
</h6>
</div>
<!-- value input and value drop downs container-->
<div class="container" id="conversion">
<!-- dropdown current value -->
<div class="row">
<div class="col s4" id="meal-type">
<h4>Meal Type:</h4>
</div>
<div class="col s8" id="meal-type-values">
<select class="browser-default selector1">
<option value="" disabled selected>Select your meal type:</option>
<option value="Breakfast" id="breakfast">Breakfast</option>
<option value="Lunch" id="Lunch">Lunch</option>
<option value="Dinner" id="dinner">Dinner</option>
<option value="Snack" id="snack">Snack</option>
<option value="Teatime" id="teaTime">Teatime</option>
</select>
</div>
</div>
<div class="row">
<!-- buttons -->
<div class="col s4" id="buttons">
<a class="waves-effect waves-light btn" id="convert">Show Recipe!</a>
<a class="waves-effect waves-light btn" id="reset">Reset</a>
</div>
<!-- result output -->
<div class="col s6" id="resultField">
<div class="input-field inline">
<h5 id=recipeTitle></h5>
<br>
<h6 id="recipeYield"></h6>
<br>
<h6 id=recipeCalories></h6>
<h6 id=recipeCaloriesPerServing></h6>
<br>
<h6 id=recipeIngredients></h6>
<br>
<h6 id=healthLabels></h6>
<br>
<h6 id=cautions></h6>
</div>
</div>
<script type="text/javascript" src="https://materializecss.com/getting-started.html"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.24.0/moment.min.js"></script>
<script src="https://code.jquery.com/jquery-3.4.1.min.js"></script>
<!-- Link to Javascript -->
<script src="Assets/Javascript/script.js"></script>
</div>
</body>
</html>