-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathco_credit.html
245 lines (229 loc) · 7.07 KB
/
co_credit.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
<!DOCTYPE html>
<html lang="en">
<head>
<!--
New Perspectives on HTML5, CSS3, and JavaScript 6th Edition
Tutorial 13
Review Assignment
Coctura Credit Page
Author: Hesbon Osoro
Date: 12/10/22
Filename: co_credit.html
-->
<title>Coctura Payment Form</title>
<meta charset="utf-8" />
<link href="co_base.css" rel="stylesheet" />
<link href="co_layout4.css" rel="stylesheet" />
<script src="co_credit.js" async></script>
</head>
<body>
<header>
<section>
<form id="memberForm">
<label for="username">Member Name</label>
<input id="username" name="user" type="text" />
<label for="password">Password</label>
<input type="password" id="password" name="pwd" />
</form>
</section>
<nav id="toptop">
<ul>
<li><a href="#">registry</a></li>
<li><a href="#">blog</a></li>
<li><a href="#">stores</a></li>
<li><a href="#">recipes</a></li>
<li><a href="#">contact us</a></li>
</ul>
</nav>
<img src="co_logo.png" alt="Coctura" />
<nav id="bottomtop">
<ul>
<li><a href="#">cookware</a></li>
<li><a href="#">cutlery</a></li>
<li><a href="#">electrics</a></li>
<li><a href="#">bakeware</a></li>
<li><a href="#">food</a></li>
<li><a href="#">bar</a></li>
<li><a href="#">homekeeping</a></li>
</ul>
</nav>
</header>
<nav id="left">
<ul>
<li><a href="#">Shopping Cart</a></li>
<li><a href="#">Order History</a></li>
<li><a href="#">Returns</a></li>
<li class="newgroup"><a href="#">Your Account</a></li>
<li><a href="#">Payment Info</a></li>
<li><a href="#">Contact Info</a></li>
<li><a href="#">Preferences</a></li>
<li class="newgroup"><a href="#">Similar Items</a></li>
<li><a href="#">Specials</a></li>
<li><a href="#">Customer Reviews</a></li>
<li><a href="#">Manufacturer Page</a></li>
</ul>
</nav>
<section id="paySection">
<h1>Payment Form</h1>
<form id="order" name="order">
<table id="orderTable">
<tr>
<td>
<input type="text" name="modelName" id="modelName" readonly />
X
<input type="text" name="modelQty" id="modelQty" readonly />
</td>
<td>
<input
type="text"
name="orderCost"
id="orderCost"
size="10"
readonly
/>
</td>
</tr>
<tr>
<td>
<input
type="text"
name="shippingType"
id="shippingType"
readonly
/>
</td>
<td>
<input
type="text"
name="shippingCost"
id="shippingCost"
size="10"
readonly
/>
</td>
</tr>
<tr>
<td class="rightA">Subtotal</td>
<td class="outcell">
<input
type="text"
name="subTotal"
id="subTotal"
size="10"
readonly
/>
</td>
</tr>
<tr>
<td class="rightA">Tax (5%)</td>
<td>
<input
type="text"
name="salesTax"
id="salesTax"
size="10"
readonly
/>
</td>
</tr>
<tr>
<td class="rightA">TOTAL</td>
<td>
<input
type="text"
name="cartTotal"
id="cartTotal"
size="10"
readonly
/>
</td>
</tr>
</table>
</form>
<form id="credit" name="credit" method="post" action="co_final.html">
<fieldset id="creditcard">
<legend>Credit Information</legend>
<label for="cardHolder">Card Holder*</label>
<input name="cardHolder" id="cardHolder" required type="text" />
<fieldset id="cards">
<label class="cardLabel">Credit Company*</label>
<label class="cardLabel">
<input name="company" value="amex" type="radio" required />
<img src="co_amex.png" alt="American Express" />
</label>
<label class="cardLabel">
<input name="company" value="discover" type="radio" />
<img src="co_discover.png" alt="Discover" />
</label>
<label class="cardLabel">
<input name="company" value="master" type="radio" />
<img src="co_master.png" alt="MasterCard" />
</label>
<label class="cardLabel">
<input name="company" value="visa" type="radio" />
<img src="co_visa.png" alt="Visa" />
</label>
</fieldset>
<label for="cardNumber">Credit Card Number*</label>
<input
name="cardNumber"
id="cardNumber"
required
type="text"
pattern="^(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\d{3})\d{11})$"
/>
<label for="expDate">Expiration Date*</label>
<input
name="expDate"
id="expDate"
required
type="text"
placeholder="mm/yyyy"
/>
<label for="cvc">CVC*</label>
<input name="cvc" id="cvc" required pattern="^\d{3,4}$" type="text" />
</fieldset>
<p id="footnote">* - Required Item</p>
<input type="submit" id="subButton" value="Submit Payment" />
</form>
</section>
<footer>
<nav id="bottom">
<ul>
<li>
<a href="#"
><img id="fbicon" src="co_fbicon.png" alt="" />facebook</a
>
</li>
<li>
<a href="#"
><img
id="twittericon"
src="co_twittericon.png"
alt=""
/>twitter</a
>
</li>
</ul>
<ul>
<li><a href="#">help & info</a></li>
<li><a href="#">track your order</a></li>
<li><a href="#">shipping info</a></li>
<li><a href="#">returns</a></li>
<li><a href="#">gift cards</a></li>
</ul>
<ul>
<li><a href="#">find a store</a></li>
<li><a href="#">request a catalog</a></li>
<li><a href="#">top picks</a></li>
</ul>
<ul>
<li><a href="#">manage your account</a></li>
<li><a href="#">order history</a></li>
<li><a href="#">contact us</a></li>
</ul>
</nav>
<p>Coctura Home Kitchen © 2018 All Rights Reserved</p>
</footer>
</body>
</html>