-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproductPayment.html
577 lines (484 loc) · 22.4 KB
/
productPayment.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
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
<!doctype html>
<html lang="en">
<head>
<title>Product Page</title>
<link rel="stylesheet" href="css/productPayment.css">
<script src ="js/ProductPayment.js"></script>
<link rel="stylesheet" href="css/navBar.css">
</head>
<body>
<div id="navBar">
<ul>
<li><a href="mainPage.html">Main Page</a></li>
<li><a href="QueryForm.html">Query Form</a></li>
<li><a href="productPayment.html">Buy Products</a></li>
<li><a href="quiz.html">Quiz</a></li>
<li><a href="studentDetails.html">Student Details</a></li>
<li id="imgLi"><a href="mainPage.html"><img src="images/logonew.png" alt="logo"></a></li>
</ul>
</div>
<h1 align="center">SPORT PRODUCTS</h1>
<hr>
<h2 align="center">CRICKET ITEAMS</h2>
<table border="1" align="center">
<tr align="center">
<td> <!--Product 01-->
<img class="image" src="images/Cricket_Bat.jpg">
<p><b>Cricket Bat</b></p>
<p>2356 sold (5.0)</p>
Quantity:<input type="number" value="0" min="1" max="10" class="quantity" id="product1" alt="Cricket Bat"></br></br>
<span class="price">Price - Rs.9,500</span></br></br>
<button onclick="buyProduct(1);" id="button1">Add To Cart</button></br>
</td>
<td> <!--Product 02-->
<img class="image" src="images/Cricket_helmet.jpg" alt="Cricket Helmet">
<p><b>Cricket Helmet</b></p>
<p>1278 sold (4.7)</p>
Quantity:<input type="number" value="0" min="1" max="10" class="quantity" id="product2"></br></br>
<span class="price">Price - Rs.5,500</span></br></br>
<button onclick="buyProduct(2);" id="button2">Add To Cart</button>
</td>
<td> <!--Product 03-->
<img class="image" src="images/Cricket_Gloves.jpg" alt="Cricket Gloves">
<p><b>Cricket Gloves</b></p>
<p>987 sold (4.6)</p>
Quantity:<input type="number" value="0" min="1" max="10" class="quantity" id="product3"></br></br>
<span class="price">Price - Rs.3,000</span></br></br>
<button onclick="buyProduct(3);" id="button3">Add To Cart</button>
</td>
<td> <!--Product 04-->
<img class="image" src="images/Cricket_leather_ball.jpg" alt="Cricket Leather Ball">
<p><b>Cricket Leather ball</b></p>
<p>5689 sold (4.9)</p>
Quantity:<input type="number" value="0" min="1" max="10" class="quantity" id="product4"></br></br>
<span class="price">Price - Rs.2,000</span></br></br>
<button onclick="buyProduct(4);" id="button4">Add To Cart</button>
</td>
<td> <!--Product 05-->
<img class="image" src="images/Cricket_Batting_Pad.jpg" alt="Cricket Battingpad">
<p><b>Cricket Batting Pad</b></p>
<p>569 sold (4.6)</p>
Quantity:<input type="number" value="0" min="1" max="10" class="quantity" id="product5"></br></br>
<span class="price">Price - Rs.2,000</span></br></br>
<button onclick="buyProduct(5);" id="button5">Add To Cart</button>
</td>
<td> <!--Product 06-->
<img class="image" src="images/Cricket_Bag.jpg" alt="Cricket Bag">
<p><b>Cricket Bag</b></p>
<p>237 sold (3.9)</p>
Quantity:<input type="number" value="0" min="1" max="10" class="quantity" id="product6"></br></br>
<span class="price">Price - Rs.5,500</span></br></br>
<button onclick="buyProduct(6);" id="button6">Add To Cart</button>
</td>
</table>
<table border="1" align="center">
<tr align="center">
<td> <!--Product 07-->
<img class="image" src="images/Cricket_Suit.jpg" alt="Cricket Suit">
<p><b>Cricket Suit</b></p>
<p>258 sold (3.4)</p>
Quantity:<input type="number" value="0" min="1" max="10" class="quantity" id="product7"></br></br>
<span class="price">Price - Rs.4,500</span></br></br>
<button onclick="buyProduct(7);" id="button7">Add To Cart</button>
</td>
<td> <!--Product 08-->
<img class="image" src="images/Cricket_wickets.jpg" alt="Cricket Wickets">
<p><b>Cricket wickets</b></p>
<p>341 sold (4.1)</p>
Quantity:<input type="number" value="0" min="1" max="10" class="quantity" id="product8"></br></br>
<span class="price">Price - Rs.5,000</span></br></br>
<button onclick="buyProduct(8);" id="button8">Add To Cart</button>
</td>
<td> <!--Product 09-->
<img class="image" src="images/Cricket_Bat2.jpg" alt="Cricket Bat">
<p><b>Cricket Bat</b></p>
<p>1986 sold (4.7)</p>
Quantity:<input type="number" value="0" min="1" max="10" class="quantity" id="product9"></br></br>
<span class="price">Price - Rs.11,500</span></br></br>
<button onclick="buyProduct(9);" id="button9">Add To Cart</button>
</td>
<td> <!--Product 10-->
<img class="image" src="images/Cricket_Ballguard.jpg" alt="Cricket Ballguard">
<p><b>Cricket ball guardt</b></p>
<p>1991 sold (4.7)</p>
Quantity:<input type="number" value="0" min="1" max="10" class="quantity" id="product10"></br></br>
<span class="price">Price - Rs.3,500</span></br></br>
<button onclick="buyProduct(10);" id="button10">Add To Cart</button>
</td>
</table>
</br>
</br>
<hr>
<h2 align="center">BADMINTON ITEAMS</h2>
<table border="1" align="center">
<tr align="center">
<td> <!--Product 01-->
<img class="image" src="images/Batminton_Racket.jpg" alt="Batminton Racket">
<p><b>Batminton Racket</b></p>
<p>4721 sold (4.8)</p>
Quantity:<input type="number" value="0" min="1" max="10" class="quantity" id="product11"></br></br>
<span class="price">Price - Rs.8,000</span></br></br>
<button onclick="buyProduct(11);" id="button11">Add To Cart</button>
</td>
<td> <!--Product 02-->
<img class="image" src="images/Batminton_Shuttlecock.jpg" alt="Batminton Shuttlecock">
<p><b>Batminton Shuttlecock</b></p>
<p>7683 sold (4.7)</p>
Quantity:<input type="number" value="0" min="1" max="10" class="quantity" id="product12"></br></br>
<span class="price">Price - Rs.1,500</span></br></br>
<button onclick="buyProduct(12);" id="button12">Add To Cart</button>
</td>
<td> <!--Product 03-->
<img class="image" src="images/Batminton_Bag.jpg" alt="Batminton Bag">
<p><b>Batminton Bag</b></p>
<p>768 sold (3.8)</p>
Quantity:<input type="number" value="0" min="1" max="10" class="quantity" id="product13"></br></br>
<span class="price">Price - Rs.5,000</span></br></br>
<button onclick="buyProduct(13);" id="button13">Add To Cart</button>
</td>
<td> <!--Product 04-->
<img class="image" src="images/Batminton_Suit.jpg" alt="Batminton Suit">
<p><b>Batminton Suit</b></p>
<p>394 sold (4.1)</p>
Quantity:<input type="number" value="0" min="1" max="10" class="quantity" id="product14"></br></br>
<span class="price">Price - Rs.4,500</span></br></br>
<button onclick="buyProduct(14);" id="button14">Add To Cart</button>
</td>
<td> <!--Product 05-->
<img class="image" src="images/Batminton_Net.jpg" alt="Batminton Net">
<p><b>Batminton Net</b></p>
<p>231 sold (2.7)</p>
Quantity:<input type="number" value="0" min="1" max="10" class="quantity" id="product15"></br></br>
<span class="price">Price - Rs.10,000</span></br></br>
<button onclick="buyProduct(15);" id="button15">Add To Cart</button>
</td>
</table>
</br>
</br>
<hr>
<h2 align="center">SWIMMING ITEAMS</h2>
<table border="1" align="center">
<tr align="center">
<td> <!--Product 01-->
<img class="image" src="images/Swimming_Board.jpg" alt="Swimming Board">
<p><b>Swimming Board</b></p>
<p>5478 sold (4.9)</p>
Quantity:<input type="number" value="0" min="1" max="10" class="quantity" id="product16"></br></br>
<span class="price">Price - Rs.1,550</span></br></br>
<button onclick="buyProduct(16);" id="button16">>Add To Cart</button>
</td>
<td> <!--Product 02-->
<img class="image" src="images/Swimming_Cap.jpg" alt="Swimming Cap">
<p><b>Swimming Cap</b></p>
<p>8932 sold (5.0)</p>
Quantity:<input type="number" value="0" min="1" max="10" class="quantity" id="product17"></br></br>
<span class="price">Price - Rs.1,200</span></br></br>
<button onclick="buyProduct(17);" id="button17">Add To Cart</button>
</td>
<td> <!--Product 03-->
<img class="image" src="images/Swimming_Fins.jpg" alt="Swimming Fins">
<p><b>Swimming Fins</b></p>
<p>2367 sold (4.1)</p>
Quantity:<input type="number" value="0" min="1" max="10" class="quantity" id="product18"></br></br>
<span class="price">Price - Rs.3,500</span></br></br>
<button onclick="buyProduct(18);" id="button18">Add To Cart</button>
</td>
<td> <!--Product 04-->
<img class="image" src="images/Swimming_Handpaddles.jpg" alt="Swimming Handpaddles">
<p><b>Swimming Handpaddles</b></p>
<p>2354 sold (3.9)</p>
Quantity:<input type="number" value="0" min="1" max="10" class="quantity" id="product19"></br></br>
<span class="price">Price - Rs.3,000</span></br></br>
<button onclick="buyProduct(19);" id="button19">Add To Cart</button>
</td>
<td> <!--Product 05-->
<img class="image" src="images/Swimming_Goggles.jpg" alt="Swimming Goggles">
<p><b>Swimming Goggles</b></p>
<p>7690 sold (4.8)</p>
Quantity:<input type="number" value="0" min="1" max="10" class="quantity" id="product20"></br></br>
<span class="price">Price - Rs.1,250</span></br></br>
<button onclick="buyProduct(20);" id="button20">Add To Cart</button>
</td>
</table>
</br>
</br>
<hr>
<h2 align="center">TENNIS ITEAMS</h2>
<table border="1" align="center">
<tr align="center">
<td> <!--Product 01-->
<img class="image" src="images/Tennis_Racket.jpg" alt="Tennis Racket">
<p><b>Tennis Racket</b></p>
<p>8975 sold (5.0)</p>
Quantity:<input type="number" value="0" min="1" max="10" class="quantity" id="product21"></br></br>
<span class="price">Price - Rs.9,750</span></br></br>
<button onclick="buyProduct(21);" id="button21">Add To Cart</button>
</td>
<td> <!--Product 02-->
<img class="image" src="images/Tennis_Ball.jpg" alt="Tennis Ball">
<p><b>Tennis Ball</b></p>
<p>9567 sold (5.0)</p>
Quantity:<input type="number" value="0" min="1" max="10" class="quantity" id="product22"></br></br>
<span class="price">Price - Rs.200</span></br></br>
<button onclick="buyProduct(22);" id="button22">Add To Cart</button>
</td>
<td> <!--Product 03-->
<img class="image" src="images/Tennis_Bag.jpg" alt="Tennis Bag">
<p><b>Tennis Bag</b></p>
<p>269 sold (3.8)</p>
Quantity:<input type="number" value="0" min="1" max="10" class="quantity" id="product23"></br></br>
<span class="price">Price - Rs.1,100</span></br></br>
<button onclick="buyProduct(23);" id="button23">Add To Cart</button>
</td>
<td> <!--Product 04-->
<img class="image" src="images/Tennis_Racket2.jpg" alt="Tennis Racket">
<p><b>Tennis Racket</b></p>
<p>7621 sold (4.8)</p>
Quantity:<input type="number" value="0" min="1" max="10" class="quantity" id="product24"></br></br>
<span class="price">Price - Rs.10,000</span></br></br>
<button onclick="buyProduct(24);" id="button24">Add To Cart</button>
</td>
<td> <!--Product 05-->
<img class="image" src="images/Tennis_Ball2.jpg" alt="Tennis Ball 3x">
<p><b>Tennis Ball 3x</b></p>
<p>5723 sold (4.2)</p>
Quantity:<input type="number" value="0" min="1" max="10" class="quantity" id="product25"></br></br>
<span class="price">Price - Rs.1,000</span></br></br>
<button onclick="buyProduct25);" id="button25">Add To Cart</button>
</td>
</table>
</br>
</br>
<hr>
<h2 align="center">SHOES</h2>
<table border="1" align="center">
<tr align="center">
<td> <!--Product 01-->
<img class="image" src="images/Cricket_Shoes.jpg" alt="Cricket Shoes">
<p><b>Cricket Shoes</b></p>
<p>3521 sold (4.1)</p>
Quantity:<input type="number" value="0" min="1" max="10" class="quantity" id="product26"></br></br>
<span class="price">Price - Rs.11,500</span></br></br>
<button onclick="buyProduct(26);" id="button26">Add To Cart</button>
</td>
<td> <!--Product 02-->
<img class="image" src="images/Football_Shoes.jpg" alt="Football Shoes">
<p><b>Football Shoes</b></p>
<p>2143 sold (3.8)</p>
Quantity:<input type="number" value="0" min="1" max="10" class="quantity" id="product27"></br></br>
<span class="price">Price - Rs.13,000</span></br></br>
<button onclick="buyProduct(27);" id="button27">Add To Cart</button>
</td>
<td> <!--Product 03-->
<img class="image" src="images/Batminton_shoes.jpg" alt="Batminton Shoes">
<p><b>Batminton Shoes</b></p>
<p>2341 sold (3.9)</p>
Quantity:<input type="number" value="0" min="1" max="10" class="quantity" id="product28"></br></br>
<span class="price">Price - Rs.10,000</span></br></br>
<button onclick="buyProduct(28);" id="button28">Add To Cart</button>
</td>
<td> <!--Product 04-->
<img class="image" src="images/Jogging_Shoes.jpg" alt="Jogging Shoes">
<p><b>Jogging Shoes</b></p>
<p>2435 sold (3.9)</p>
Quantity:<input type="number" value="0" min="1" max="10" class="quantity" id="product29"></br></br>
<span class="price">Price - Rs.8,000</span></br></br>
<button onclick="buyProduct(29);" id="button29">Add To Cart</button>
</td>
<td> <!--Product 05-->
<img class="image" src="images/Casual_Shoes.jpg" alt="Casual Shoes">
<p><b>Casual Shoes</b></p>
<p>4536 sold (4.3)</p>
Quantity:<input type="number" value="0" min="1" max="10" class="quantity" id="product30"></br></br>
<span class="price">Price - Rs.8,000</span></br></br>
<button onclick="buyProduct(30);" id="button30">Add To Cart</button>
</td>
</table>
</br>
</br>
<hr>
<h2 align="center">OTHER ITEAMS</h2>
<table border="1" align="center">
<tr align="center">
<td> <!--Product 01-->
<img class="image" src="images/Sports_cap.jpg" alt="Sports Cap">
<p><b>Sports cap</b></p>
<p>9807 sold (5.0)</p>
Quantity:<input type="number" value="0" min="1" max="10" class="quantity" id="product31"></br></br>
<span class="price">Price - Rs.1,000</span></br></br>
<button onclick="buyProduct(31);" id="button31">Add To Cart</button>
</td>
<td> <!--Product 02-->
<img class="image" src="images/Sports_Towel.jpg" alt="Sports Towel">
<p><b>Sports Towel</b></p>
<p>1362 sold (3.4)</p>
Quantity:<input type="number" value="0" min="1" max="10" class="quantity" id="product32"></br></br>
<span class="price">Price - Rs.2,100</span></br></br>
<button onclick="buyProduct(32);" id="button32">Add To Cart</button>
</td>
<td> <!--Product 03-->
<img class="image" src="images/Rugby_Ball.jpg" alt="Rugby Ball">
<p><b>Rugby Ball</b></p>
<p>5634 sold (4.9)</p>
Quantity:<input type="number" value="0" min="1" max="10" class="quantity" id="product33"></br></br>
<span class="price">Price - Rs.7,300</span></br></br>
<button onclick="buyProduct(33);" id="button33">Add To Cart</button>
</td>
<td> <!--Product 04-->
<img class="image" src="images/BasketBall_img.jpg" alt="Basketball">
<p><b>Basketball</b></p>
<p>1637 sold (4.3)</p>
Quantity:<input type="number" value="0" min="1" max="10" class="quantity" id="product34"></br></br>
<span class="price">Price - Rs.5,000</span></br></br>
<button onclick="buyProduct(34);" id="button34">Add To Cart</button>
</td>
<td> <!--Product 05-->
<img class="image" src="images/Sport_Waterbottel.jpg" alt="Waterbottel">
<p><b>Sport Waterbottel</b></p>
<p>6578 sold (4.7)</p>
Quantity:<input type="number" value="0" min="1" max="10" class="quantity" id="product35"></br></br>
<span class="price">Price - Rs.2,000</span></br></br>
<button onclick="buyProduct(35);" id="button35">Add To Cart</button>
</td>
<td> <!--Product 06-->
<img class="image" src="images/Foot_Ball.jpg" alt="Football">
<p><b>Foot Ball</b></p>
<p>3427 sold (4.1)</p>
Quantity:<input type="number" value="0" min="1" max="10" class="quantity" id="product36"></br></br>
<span class="price">Price - Rs.6,000</span></br></br>
<button onclick="buyProduct(36);" id="button36">Add To Cart</button>
</td>
</table>
<table border="1" align="center">
<tr align="center">
<td> <!--Product 01-->
<img class="image" src="images/Sports_Bag.jpg" alt="SportBag">
<p><b>Sports Bag</b></p>
<p>1284 sold (3.7)</p>
Quantity:<input type="number" value="0" min="1" max="10" class="quantity" id="product37"></br></br>
<span class="price">Price - Rs.4,500</span></br></br>
<button onclick="buyProduct(37);" id="button37">Add To Cart</button>
</td>
<td> <!--Product 02-->
<img class="image" src="images/Sports_Hairband.jpg" alt="Hairband">
<p><b>Sports Hairband</b></p>
<p>6453 sold (4.7)</p>
Quantity:<input type="number" value="0" min="1" max="10" class="quantity" id="product38"></br></br>
<span class="price">Price - Rs.500</span></br></br>
<button onclick="buyProduct(38);" id="button38">Add To Cart</button>
</td>
<td> <!--Product 03-->
<img class="image" src="images/Sports_Handband.jpg" alt="Handband">
<p><b>Sports Handband</b></p>
<p>8794 sold (4.9)</p>
Quantity:<input type="number" value="0" min="1" max="10" class="quantity" id="product39"></br></br>
<span class="price">Price - Rs.750</span></br></br>
<button onclick="buyProduct(39);" id="button39">Add To Cart</button>
</td>
<td> <!--Product 04-->
<img class="image" src="images/Golf_Ball.jpg" alt="Golf">
<p><b>Golf Racket and Golf Ball</b></p>
<p>1628 sold (3.2)</p>
Quantity:<input type="number" value="0" min="1" max="10" class="quantity" id="product40"></br></br>
<span class="price">Price - Rs.9,000</span></br></br>
<button onclick="buyProduct(40);" id="button40">Add To Cart</button>
</td>
</table>
</br>
</br>
<hr>
<!--Payement area-->
<h1 align="center">PAYMENT AREA</h1>
<hr>
<div id="form-block">
<form name="sample" id="form-background">
<h2>Personal information</h2>
<label for="fName">First Name:</label>
<input type="text" id="fName" name="fName">
<label for="sName">Second Name:</label>
<input type="text" id="sName" name="sName">
<label for="email">E-mail:</label>
<input type="text" id="email" name="email" placeholder="[email protected]">
<label for="contactNumber">Contatc Number:</label>
<input type="text" id="contactNumber" name="contactNumber">
<label for="address">Address:</label>
<input type="text" id="address" name="address">
<label for="city">City:</label>
<input type="text" id="city" name="city">
<label for="zip">Zip:</label>
<input type="text" id="zip" name="zip">
<h2>Payment Detail</h2>
<p>Accepted Cards</p>
<div class = "cards">
<img src="images/mc.png" width="50" height="40">
<img src="images/vi.png" width="50" height="40">
<img src="images/pp.png" width="50" height="40">
</div>
<label for="cardname">Card Holder Name:</label>
<input type="text" name="cardname" id="cardname">
<label for="cardnum">Card Number:</label>
<input type="text" name="cardnum" id="cardnum" placeholder="XXXX-XXXX-XXXX-XXXX">
<label for="exdate">Expiry Date:</label>
<input type="text" name="exdate" id="exdate" placeholder="10/24">
<label for="cvv">cvv:</label>
<input type="text" name="cvv" id="cvv" placeholder="100"></br>
</form>
</div>
<a href="#top" style="float: right; margin-right: 20px; font-size: 18px;">Back to top</a><br><br>
<input class="button button01" type="button" id="btnSubmit" value="Submit">
<script>
document.getElementById('btnSubmit').addEventListener('click',validation)
function validation(){
var firstName = document.forms["sample"]["fName"].valnue;
var secondName = document.forms["sample"]["sName"].value;
var email = document.forms["sample"]["email"].value;
var contactNumber = document.forms["sample"]["contactNumber"].value;
var address = document.forms["sample"]["address"].value;
var city = document.forms["sample"]["city"].value;
var zip = document.forms["sample"]["zip"].value;
var cardName = document.forms["sample"]["cardname"].value;
var cardNum = document.forms["sample"]["cardnum"].value;
var EXPdate = document.forms["sample"]["exdate"].value;
var CVV = document.forms["sample"]["cvv"].value;
if (firstName == "") {
alert("You didnt enter your first name");
}
else if(secondName==""){
alert("You didnt enter your second name");
}
else if(email==""){
alert("You didnt enter your email");
}
else if(contactNumber==""){
alert("You didnt enter your contact number");
}
else if(address==""){
alert("You didnt enter your address");
}
else if(city==""){
alert("You didnt enter your city");
}
else if(zip==""){
alert("You didnt enter the zip number");
}
else if(cardName==""){
alert("You didnt enter the Card Name");
}
else if(cardNum==""){
alert("You didnt enter the Card number");
}
else if(EXPdate==""){
alert("You didnt enter the exp Date");
}
else if(CVV==""){
alert("You didnt enter the CVV");
}
}
</script>
</br>
<hr>
<center>
<a href="info.html">Page Developer: Manthika Dissanayake</a>
</center>
</body>
</html>