-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpixel.html
196 lines (167 loc) · 7.03 KB
/
pixel.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
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
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<title>e-cart/laptops</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="nav.css">
<style>
* {
box-sizing: border-box;
}
.column {
float: left;
width: 33.33%;
padding: 5px;
}
.row .coloum a {
color: #f2f2f2;
text-decoration: none;
}
/* Clearfix (clear floats) */
.row::after {
content: "";
clear: both;
display: table;
}
/* Responsive layout - makes the three columns stack on top of each other instead of next to each other */
@media screen and (max-width: 500px) {
.column {
width: 100%;
}}
.but {
padding: 15px 25px;
font-size: 24px;
text-align: center;
cursor: pointer;
outline: none;
color: #fff;
background-color: #4CAF50;
border: none;
border-radius: 15px;
box-shadow: 0 9px #999;
}
.but:hover {background-color: #3e8e41}
.but:active {
background-color: #3e8e41;
box-shadow: 0 5px #666;
transform: translateY(4px);
}
</style>
</head>
<body>
<!-- Navigation -->
<img src="images/ecartimg.jpg" style="height:40px;width:150px"alt="">
<logo align="right" style="font-family: Comic Sans MS, cursive, sans-serif;font-size: 30px;color: grey;"><i>.com</i></logo>
<div class="navbar">
<div class="topnav">
<a href="home.html">Home</a>
<button class="open-button" onclick="openForm()">Log in</button>
<div class="form-popup" id="myForm">
<form class="form-container">
<h1>Log in</h1>
<label for="email"><b>Email</b></label>
<input type="text" placeholder="Enter Email" name="email" required>
<label for="psw"><b>Password</b></label>
<input type="password" placeholder="Enter Password" name="psw" required>
<button type="submit" class="btn">Log in</button>
<center><h3>-or-</h3><h3>Create an Account</h3></center>
<button type="link" class="btn" onclick="signUp()">Sign up</button>
<p id="demo"></p>
<button type="button" class="btn cancel" onclick="closeForm()">Close</button>
</form>
</div>
<a id="myBtn">Members</a>
<!-- The Modal -->
<div id="myModal" class="modal">
<!-- Modal content -->
<div class="modal-content">
<span class="close">×</span>
<p><center><i>-Created by-</i><br><br><b>Aadesh Dutta -160102010<br>
Riturag Saikia -160102017<br>Bharat Bhushan Saikia -160102018</b></center></p>
</div>
</div>
<div class="dropdown">
<button class="dropbtn">Categories</button>
<div class="dropdown-content">
<a href="laptop.html">Laptops</a>
<a href="phones.html">Smart Phones</a>
<a href="camera.html">Camera</a>
<a href="tablets.html">Tablets</a>
</div>
</div>
<div class="search-container">
<form action="/action_page.php">
<input type="text" placeholder="Search..." name="search">
</form>
</div>
</div>
</div><br>
<h1><center>Google Pixel 3 XL (Clearly White, 4GB RAM, 128GB Storage)</center></h1>
<h3><p style="color:red;"><i>Price: </i> <b> ₹ Rs 92,000.00</b><img src="images\pixel1.jpg"
alt="Smiley face" width="220px" height="450px" align="left" hspace="50px"><br>
<ul>
<li>12.2MP rear camera | 8MP+8MP dual front camera</li>
<li>16.0 centimeters (6.2 inch) QHD+ display capacitive touchscreen with 1440 x 2960 pixels resolution</li>
<li>Memory, Storage and SIM: 4GB RAM | 128GB internal memory | Single SIM</li>
<li>Android v9 Pie operating system with 2.5GHz Qualcomm Snapdragon 845 64-bit octa core processor</li>
<li>3430mAH lithium-ion battery</li>
<li>1 year manufacturer warranty for device and 6 months manufacturer warranty for in-box accessories including batteries from the date of purchase</li>
</ul>
<i>What's in the box</i>
<ul>
<li>Handset</li>
<li>USB Type-C 18W Adaptor with USB-PD</li>
<li>Sim Tool</li></ul></p></h3>
<br><br><br><br><br><br>
<a href="home.html"><button class="but">BUY</button></a><br><br>
<div class="footer">
<a href="sell.html" align="left">Register as a seller</a><br>
<a href="home.html" align="left">About us</a><br>
<a href="home.html" align="left">Contact</a><br>
<a href="home.html" align="left">FAQ</a><br>
<center>
<a href="share.html"><img class="share" src="images/facebook.jpg" style="height:20px;width:20px"></a>
<a href="share.html"><img class="share" src="images/twitter.jpg" style="height:20px;width:20px"></a>
<a href="share.html"><img class="share" src="images/insta.jpg" style="height:20px;width:20px"></a>
<a href="share.html"><img class="share" src="images/whatsapp.jpg" style="height:20px;width:20px"></a>
<p>e-cart is a shopping site where we can buy all kinds of electronic goods.<br>
While using this site, you agree to have read and accepted our terms of use, cookie and privacy policy. <br>
Copyright @2019. All Rights Reserved.</p>
</center>
</div>
<script>
function openForm() {
document.getElementById("myForm").style.display = "block";
}
function signUp() {
var str = "create an new account";
var result = str.link("signUp.html");
document.getElementById("demo").innerHTML = result;
}
function closeForm() {
document.getElementById("myForm").style.display = "none";
}
// Get the modal
var modal = document.getElementById('myModal');
// Get the button that opens the modal
var btn = document.getElementById("myBtn");
// Get the <span> element that closes the modal
var span = document.getElementsByClassName("close")[0];
// When the user clicks the button, open the modal
btn.onclick = function() {
modal.style.display = "block";
}
// When the user clicks on <span> (x), close the modal
span.onclick = function() {
modal.style.display = "none";
}
// When the user clicks anywhere outside of the modal, close it
window.onclick = function(event) {
if (event.target == modal) {
modal.style.display = "none";
}
}
</script>
</body>
</html>