-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathanalyze.html
83 lines (70 loc) · 3.09 KB
/
analyze.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Caveat&display=swap" rel="stylesheet">
<link rel="shortcut icon" href="Favicon.PNG" />
<!-- The core Firebase JS SDK is always required and must be listed first -->
<script src="https://www.gstatic.com/firebasejs/8.2.10/firebase-app.js"></script>
<!-- TODO: Add SDKs for Firebase products that you want to use
https://firebase.google.com/docs/web/setup#available-libraries -->
<script src="https://www.gstatic.com/firebasejs/8.2.10/firebase-analytics.js"></script>
<script src="https://www.gstatic.com/firebasejs/8.2.0/firebase-auth.js"></script>
<script src="https://www.gstatic.com/firebasejs/8.2.0/firebase-storage.js"></script>
<script src="https://www.gstatic.com/firebasejs/8.2.0/firebase-database.js"></script>
<script src="database.js"></script>
<link rel="stylesheet" href="analyze.css">
<script src="makePost.js"></script>
<!-- <script src="Apikey.js"></script> -->
<script src="analyze.js"></script>
<script src="signin.js"></script>
<script src="handleLogin.js"></script>
<title>Make a Recipe</title>
</head>
<body>
<div id="mySidenav" class="sidenav">
<a style="cursor: pointer" class="closebtn" onclick="closeNav()">×</a>
<a href="analyze.html">Analyze Recipe</a>
<a href="explore.html">Explore</a>
<div class="login-co">
<a href="signin.html">Login</a>
</div>
</div>
<header>
<nav>
<span style="font-size:30px;cursor:pointer" onclick="openNav()">☰</span>
<a href="index.html">Smart-Meal</a>
</nav>
</header>
<div class="content">
<div class="form-instr">
<h1>Type in the ingredients of your recipe below!</h1>
<p>Please enter each ingredient on a new line</p>
</div>
<div id = 'container'>
<form>
<input class="form-el" type ="text" placeholder="Title of Dish" required>
<textarea class="form-el" name="ingr" id="" cols="30" rows="10"
placeholder="EX: '1 cup of chickpeas, 10 oz of beef'" required></textarea>
<label for="file-upload" class="form-el custom-file-upload">
<i class="fa fa-image-upload"></i> Meal Image
</label>
<input id="file-upload" type="file" value="Meal Image"/>
<button id="form-submit" class="form-el" type='submit'>Analyze!</button>
</form>
</div>
<div class="recipe"></div>
</div>
<script>
function openNav() {
document.getElementById("mySidenav").style.width = "250px";
}
function closeNav() {
document.getElementById("mySidenav").style.width = "0";
}
</script>
</body>
</html>