-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
48 lines (47 loc) · 2.04 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
<!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="stylesheet" href="style.css">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css" integrity="sha512-9usAa10IRO0HhonpyAIVpjrylPvoDwiPUiKdWk5t3PyolY1cOd4DSE0Ga+ri4AuTroPR5aQvXU9xC6qOPnzFeg==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<title>Woolworths Product Image Finder</title>
</head>
<body>
<div class="wrapper">
<div class="container" id="holder">
<div class="card" style="width: 18rem;">
<h1 class=" text-center midOne mt-2">
<i class="fa-solid fa-magnifying-glass text-success"></i>
</h1>
<sub class="text-center" >Woolworths Image Finder</sub>
<p class="text-center mt-2 d-none text-danger" id="alertBox">Please enter product id</p>
<div class="card-body">
<input type="text" class="form-control mb-2 productID" placeholder="Enter Product ID" onClick = "hideAlert()" required>
<button class="btn btn-success w-100" onClick="handleOnFetch(this)"> Find Image</button>
</div>
<div class="card-body">
<sub class="text-center" >Sample Product IDs</sub>
<ul>
<li>
133211- Cavendish Bananas
</li>
<li>
216872 - A2 Full Cream Milk
</li>
<li>
0 - An Inside Joke
</li>
</ul>
</div>
</div>
</div>
</div>
<footer class="text-center">
<sub>This product is not associated to Woolworths Group or any of it's subsidiaries. This is a personal project.</sub>
</footer>
<script src="script.js"></script>
</body>
</html>