-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRecipe.html
More file actions
165 lines (142 loc) · 3.24 KB
/
Recipe.html
File metadata and controls
165 lines (142 loc) · 3.24 KB
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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
<!DOCTYPE html>
<html>
<head>
<title> Fridge Friend </title>
<link rel="stylesheet" type="text/css" href="style.css" media="screen and (orientation:portrait)"/>
<link rel="stylesheet" type="text/css" href="landscape.css" media="screen and (orientation:landscape)"/>
<style>
body {
margin: 0;
min-width: 250px;
}
/* Include the padding and border in an element's total width and height */
* {
box-sizing: border-box;
}
/* Remove margins and padding from the list */
ul {
margin: 0;
padding: 0;
}
/* Style the header */
.header {
background-color: #f44336;
padding: 30px 40px;
color: white;
text-align: center;
}
/* Clear floats after the header */
.header:after {
content: "";
display: table;
clear: both;
}
</style>
</head>
<style>
body {
margin: 0;
font-family: Arial, Helvetica, sans-serif;
}
.topnav {
overflow: hidden;
background-color: #333;
}
.topnav a {
float: left;
color: #f2f2f2;
text-align: center;
padding: 14px 16px;
text-decoration: none;
font-size: 17px;
}
.topnav a:hover {
background-color: #ddd;
color: black;
}
.topnav a.active {
background-color: #04AA6D;
color: white;
}
</style>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
table {
border-spacing: 0;
width: 100%;
border: 1px solid #ddd;
}
th, td {
text-align: left;
padding: 16px;
}
tr:nth-child(even) {
background-color: #f2f2f2
}
</style>
<style>
img {
border: 1px solid #ddd;
border-radius: 4px;
padding: 5px;
width: 150px;
}
img:hover {
box-shadow: 0 0 2px 1px rgba(0, 140, 186, 0.5);
}
</style>
<body>
<!-- HTML5 article tag for content -->
<div id="content">
<div class="topnav">
<a href="List.html">List </a>
<a class="active" href="Recipe.html">Recipes </a>
<a href="Expiration.html">Expiration </a>
<a href="Help.html">Help</a>
</div>
<div id="myDIV" class="header">
<h2>Suggested Recipes</h2>
</div>
<table id="myTable">
<tr>
<th>Recipes</th>
<th>Ingredients</th>
</tr>
<tr>
<td>Scrambled Eggs</td>
<td>
<ul>
<li>Butter</li>
<li>Eggs</li>
<li>Pinch of salt and pepper</li>
</ul>
</td>
<td>
<a target="_blank" href="https://www.eggs.ca/recipes/simple-scrambled-eggs">
<img src="scrambledIMG.jpg" alt="scrambledIMG" style="width:150px">
</a>
</td>
</tr>
<tr>
<td>Omelet</td>
<td>
<ul>
<li>Butter</li>
<li>Eggs</li>
<li>Shredded Cheddar</li>
<li>Pinch of salt and pepper</li>
<li>Freshly Chopped Chives</li>
</ul>
</td>
<td>
<a target="_blank" href="https://www.delish.com/cooking/recipe-ideas/a24892843/how-to-make-omelet/">
<img src="omletteIMG.png" alt="omletteIMG" style="width:150px">
</a>
</td>
</tr>
</table>
<footer>CS3041: Fridge Friend App </footer>
</div>
</body>
</html>