-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
156 lines (147 loc) · 9.81 KB
/
index.html
File metadata and controls
156 lines (147 loc) · 9.81 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
<!DOCTYPE html>
<html>
<head>
<title>Demo Tech</title>
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Acme&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
<link rel="stylesheet" type="text/css" href="demotech.css">
</head>
<body>
<div class="jumbotron">
<h3 class="display-5">Welcome to <span id="democolor">Demo</span><span id="red">Tech</span ><img src="star.svg"></h3>
<p class="display-6">This is just a practice version of JavaScript mainly alongside with Bootstrap <img id="BellMe"> </p>
<div id="notificationPanel">
<p id="p-notificationPanel" >**February month update**</p>
<p id="p-notificationPanel">F0. The previous J3 feature has been removed due to the introduction of new product list on which Add to Cart feature will be applied.</p>
<p id="p-notificationPanel" >F1. Blinking Cart Text has been added.</p>
<p id="p-notificationPanel"> F2. New Notification bell icon has been animated with the help of javascript and then with the help of JQuery I have added a dropdown menu to show notification.( I am learning JQuery a little bit hence I am applying to this project)</p>
<p id="p-notificationPanel">F3.New Cart feature will be adding soon..</p>
<p id="p-notificationPanel">--->F3.1. Add to Cart Option.</p>
<p id="p-notificationPanel">--->F3.2. Items of Available Products will be Adding Soon</p>
<p id="p-notificationPanel">--->F3.3. Items willbe saved on locally so that we can see the "Add to Cart" effect After the page is loaded</p>
<p id="p-notificationPanel">Read the readme file for more!</p>
</div>
</div>
<nav class="navbar navbar-expand-lg navbar navbar-dark bg-dark navbar-fixed-top">
<a class="navbar-brand" href="#"><span id="democolor">Demo</span><span id="red">Tech</span><img src="star.svg"></a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNavDropdown" aria-controls="navbarNavDropdown" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNavDropdown">
<ul class="navbar-nav">
<li class="nav-item active">
<a class="nav-link" href="#">Home <span class="sr-only">(current)</span></a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Features</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Pricing</a>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdownMenuLink" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
View Categories
</a>
<div class="dropdown-menu" id="removediv" aria-labelledby="navbarDropdownMenuLink">
<a class="dropdown-item" id="desktop" href="#">Desktop</a>
<!-- <div class="dropdown-divider"></div> -->
<div class="hide-desktop">
<a class="dropdown-item" class="hide-desktop" id="desktop" href="#"> Budget PC</a>
<a class="dropdown-item" class="hide-desktop" id="desktop" href="#"> Brand PC</a>
<a class="dropdown-item" class="hide-desktop" id="desktop" href="#"> All in One</a>
<a class="dropdown-item" class="hide-desktop" id="desktop"href="#"> MAC</a>
</div>
<div class="dropdown-divider"></div>
<a class="dropdown-item" id="laptop" href="#">Laptop</a>
<div class="hide-laptop">
<a class="dropdown-item " class="hide-laptop" href="#">All Laptop</a>
<a class="dropdown-item " class="hide-laptop" id="laptop" href="#">Gaming Laptop</a>
<a class="dropdown-item " class="hide-laptop" id="laptop" href="#">Premium Ultrabook</a>
<a class="dropdown-item " class="hide-laptop" id="laptop" href="#">Laptop Accessories</a>
<a class="dropdown-item " class="hide-laptop" id="laptop"href="#">External Graphics</a>
</div>
<div class="dropdown-divider"></div>
<a class="dropdown-item" id="component" href="#">Component</a>
<div class="hide-component">
<a class="dropdown-item " class="hide-component" id="component" href="#">Casing</a>
<a class="dropdown-item " class="hide-component" id="component" href="#">Casing Cooler</a>
<a class="dropdown-item " class="hide-component" id="component" href="#">Power Supply</a>
<a class="dropdown-item " class="hide-component" id="component"href="#">Processor</a>
<a class="dropdown-item " class="hide-component" id="component" href="#">CPU Cooler</a>
<a class="dropdown-item " class="hide-component" id="component" href="#">Motherboard</a>
<a class="dropdown-item " class="hide-component" id="component" href="#">Graphics Card</a>
<a class="dropdown-item " class="hide-component" id="component"href="#">Hard Disk Drive</a>
<a class="dropdown-item " class="hide-component" id="component" href="#">SSD</a>
<a class="dropdown-item" class="hide-component" id="component" href="#">RAM(Desktop)</a>
<a class="dropdown-item " class="hide-component" id="component" href="#">RAM(Laptop)</a>
<a class="dropdown-item " class="hide-component" id="component"href="#">Portable SSD</a>
</div>
<div class="dropdown-divider"></div>
<a class="dropdown-item" id="monitor" href="#">Monitor</a>
<div class="hide-monitor">
<a class="dropdown-item " class="hide-monitor" id="monitor" href="#">Benq</a>
<a class="dropdown-item " class="hide-monitor" id="monitor" href="#">Asus</a>
<a class="dropdown-item " class="hide-monitor" id="monitor" href="#">Acer</a>
<a class="dropdown-item " class="hide-monitor" id="monitor"href="#">Dell</a>
<a class="dropdown-item " class="hide-monitor" id="monitor" href="#">GigaByte</a>
<a class="dropdown-item " class="hide-monitor" id="monitor" href="#">HP</a>
<a class="dropdown-item " class="hide-monitor" id="monitor" href="#">Walton</a>
<a class="dropdown-item " class="hide-monitor" id="monitor"href="#">Samsung</a>
<a class="dropdown-item " class="hide-monitor" id="monitor" href="#">LG</a>
<a class="dropdown-item" class="hide-monitor" id="monitor" href="#">Xiaomi</a>
<a class="dropdown-item " class="hide-monitor" id="monitor" href="#">Curved Monitor</a>
<a class="dropdown-item " class="hide-monitor" id="monitor"href="#">Gaming Monitor</a>
</div>
<div class="dropdown-divider"></div>
</div>
</li>
</ul>
<div id="blink"></div>
</div>
<div class="cart" style=" margin-right: 20px;"><a id="blinkCart"><img src="shopping-cart.png" style="width: 30px; height: 30px;"/> Cart <span id="cartSpan"> 0</span></a></div>
<form class="form-inline">
<input class="form-control mr-sm-2" type="search" placeholder="Search" aria-label="Search">
<button class="btn btn-outline-info my-2 my-sm-0" type="submit">Search</button>
</form>
</nav>
<div class="addd">
<fieldset class="products-container">
<span class="fixed-product-title">PRODUCT</span>
<span class="fixed-price">PRICE</span>
<span class="fixed-quantity">QUANTITY</span>
<span class="fixed-total">TOTAL</span>
</fieldset>
<fieldset id="products">
</fieldset>
</div>
<img name="slide" width=100% height=500px margin-bottom=100px>
<!-- <div id="imgload"></div> -->
<div class="div-product-container">
<div class="div-product-image">
<img class="product-image"src="products/b500n.jpg" alt="A4 Tech Rgb keyboard">
<h3 class="product-h3">A4 Tech Bloody B500N</h3>
<h3 class="product-h3">Price: 2400/-</h3>
<a class="addToCart">Add to Cart</a>
</div>
<div class="div-product-image">
<img class="product-image"src="products/m4.jpg" alt="A4 Tech Rgb keyboard">
<h3 class="product-h3">Tplink Deco M4(Single Pack)</h3>
<h3 class="product-h3">Price: 4500/-</h3>
<a class="addToCart">Add to Cart</a>
</div>
<div class="div-product-image">
<img class="product-image"src="products/hp22f.jpg" alt="Hp Monitor">
<h3 class="product-h3">Hp Monitor Hp22f</h3>
<h3 class="product-h3">Price: 21000/-</h3>
<a class="addToCart">Add to Cart</a>
</div>
</div>
</body>
<!-- <script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script> -->
<script src="https://code.jquery.com/jquery-3.5.1.js" integrity="sha256-QWo7LDvxbWT2tbbQ97B53yJnYU3WhH/C8ycbRAkjPDc=" crossorigin="anonymous"></script>
<script type="module" src="https://unpkg.com/ionicons@5.4.0/dist/ionicons/ionicons.esm.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
<script type="text/javascript" src="demotech.js"></script>
</html>