-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcreateproduct.html
76 lines (72 loc) · 3.44 KB
/
createproduct.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="description" content="shop online , easy delivery to your home">
<meta name="keywords" content="HTML, CSS, JavaScript , OOP">
<meta name="author" content="Abdullah">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Create Product Shopping Cart</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Oswald:wght@400;500&display=swap" rel="stylesheet">
<link rel="stylesheet" href="CSS/all.css">
<link rel="stylesheet" href="CSS/fontawesome.css">
<link rel="stylesheet" href="CSS/global.css">
<link rel="stylesheet" href="CSS/createproduct.css">
</head>
<body>
<header>
<div class="container">
<div class="header-content">
<a href="index.html" class="brand">
Shopping Cart
</a>
<nav>
<ul id="log_reg">
<li><a href="login.html"> Sign In</a></li>
<li><a href="register.html"> Sign Up</a></li>
</ul>
<ul id="user_info">
<li><a href="profile.html" id="user">username</a></li>
<li><a href="favouriteproducts.html">Favourites</a></li>
<li class="notify">
<i class=" shop-i fas fa-cart-plus"></i>
<span class="badge"> 0 </span>
<div class="cartmenu">
<div class="cartproducts"></div>
<a class="cartbtn" href="cartproducts.html">view all cart products</a>
</div>
</li>
<li><a href="#" id="logout">log Out</a></li>
</ul>
</nav>
</div>
</div>
</header>
<section class="create-product-form">
<div class="container">
<form id="create-form">
<label for="inputFile">Product Image</label>
<input type="file" id="inputFile" />
<label for="inputTitle">Product Title</label>
<input type="text" id="inputTitle" />
<label for="inputDesc">Product Desc</label>
<input type="text" id="inputDesc" />
<select aria-label="selection" id="product-selection">
<option value="" hidden>Select Size</option>
<option value="Small">Small</option>
<option value="Medium">Medium</option>
<option value="Large">Large</option>
</select>
<label for="submitBtn"></label>
<input type="submit" value="Create" id="submitBtn" />
</form>
</div>
</section>
<script src="JS/check_user.js"></script>
<script src="JS/products.js"></script>
<script src="JS/cartmenu.js"></script>
<script src="JS/createproduct.js"></script>
</body>
</html>