forked from hack4impact-calpoly/bootcamp-grocery-prep
-
Notifications
You must be signed in to change notification settings - Fork 0
/
random.html
66 lines (55 loc) · 2.23 KB
/
random.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
<html lang="en-US">
<head>
<meta charset="utf-8">
<title>Sah Dude</title>
<link rel="icon" href="https://upload.wikimedia.org/wikipedia/commons/thumb/9/96/Flag_of_the_Philippines_-_cropped_sun.svg/1900px-Flag_of_the_Philippines_-_cropped_sun.svg.png" type="image/png">
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<header>
<h1 class="top">~Grocery Prep~</h1>
<nav>
<a class="top" href = "index.html">Home</a>
<a class="top" id="random"href="random.html">Random Recipe</a>
<a class="top" id= "about" href = "about.html">About the Chef</a>
</nav>
</header>
<main>
<h1 class = "title"> </h1>
<div class = "intro">
<div class="info">
<p class= "desc">
</p>
<h4>Servings</h4>
<div class="buttons">
<button id="-"> – </button>
<span id="num_servings">1</span>
<button id="+"> + </button>
</div>
<div id="ratings"><span id="rating"></span> ☆</div>
<div class="rating">
<label for="select-rating" id="rating-label">Rate Me!</label><br>
<select id="select-rating">
<option selected hidden disabled>Select Rating</option>
<option value="1">1 ☆</option>
<option value="2">2 ☆</option>
<option value="3">3 ☆</option>
<option value="4">4 ☆</option>
<option value="5">5 ☆</option>
</select>
<button id="post-rating">Post Rating</button>
</div>
</div>
<img class="food-img" > </img>
</div>
<h3>Ingredients</h3>
<ul id="ingredients">
</ul>
<h3>Instructions</h3>
<ol id="instructions">
</ol>
</main>
<script src="recipe.js"></script>
<script src="random.js"></script>
</body>
</html>