-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
93 lines (79 loc) · 3.41 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
<!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">
<title>Plant Plate</title>
<link rel="stylesheet" href="css/style.css">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/full.css" rel="stylesheet" type="text/css" />
<script src="https://cdn.tailwindcss.com"></script>
<!-- themes -->
<script src="https://cdn.jsdelivr.net/npm/[email protected]/index.js"></script>
</head>
<body>
<div class="navbar bg-base-content">
<a class="btn btn-ghost normal-case text-xl"></a>
<div class="m-5">
<h2 class="mb-4 text-2xl text-green-700 font-bold"></h2>
🌞
<div class="inline-block w-10">
<span data-toggle-theme="dark" data-act-class="pl-4" class="border rounded-full border-green-700 flex items-center cursor-pointer w-10 transition-all duration-300 ease-in-out pl-0">
<span class="rounded-full w-3 h-3 m-1 bg-green-700">
</span>
</span>
</div>
🌚
</div>
</div>
<div class="hero min-h-screen">
<div class="text-center hero-content">
<div class="max-w-md">
<h1 class="mb-5 text-5xl font-bold">
Check if Item is Vegetarian
</h1>
<p class="mb-5">
"Discover the Ultimate Plant-Powered Assistant: Plant Plate!
🌱 Unlock Your Food's Secrets 🌱.
</p>
<!-- input box -->
<label for="barcode">Enter a UPC barcode number (12 digits)</label>
<input type="number" id="barcode" name="barcode" class="input input-primary w-full max-w-xs" >
<button class="btn btn-primary" onClick = "getFetch();">Get Value</button>
<!-- <img id="product-img" src=" " alt="">
<h2 id="product-name"></h2> -->
<div class="card">
<figure>
<img id="product-img" src=" " alt="">
</figure>
<div class="card-body">
<h2 class="badge mx-2 card-title" id="product-name"></h2>
</div>
</div>
<!-- add table for ingredients -->
<table id="ingredient-table">
<tr>
<th>Ingredient</th>
<th>Vegetarian</th>
</tr>
</table>
</div>
</div>
</div>
<script type="text/javascript" src="js/main.js"></script>
</body>
</html>
<!-- <div class="card">
<figure>
<img src="https://picsum.photos/id/1005/400/250">
</figure>
<div class="card-body">
<h2 class="card-title">Top image
<div class="badge mx-2 badge-secondary">NEW</div>
</h2>
<p>Rerum reiciendis beatae tenetur excepturi aut pariatur est eos. Sit sit necessitatibus veritatis sed molestiae voluptates incidunt iure sapiente.</p>
<div class="justify-end card-actions">
<button class="btn btn-secondary">More info</button>
</div>
</div>
</div> -->