Skip to content

Commit 9ab36b3

Browse files
Update Question7.html
1 parent 58ddb86 commit 9ab36b3

File tree

1 file changed

+16
-11
lines changed

1 file changed

+16
-11
lines changed

templates/Question7.html

Lines changed: 16 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,31 @@
11
<!DOCTYPE html>
22
<html lang="en">
33
<head>
4-
<meta charset="UTF-8">
5-
<title>Card Form</title>
6-
<link rel="stylesheet" href="styleQ7.css">
4+
<meta charset="UTF-8">
5+
<title>Card Form</title>
6+
<link rel="stylesheet" href="styleQ7.css">
77
</head>
88
<body>
99

1010
<h1>Card Form</h1>
1111

12-
<form class="card-form">
13-
<label for="name">Name</label>
12+
<div class="card">
13+
<form>
14+
<label for="name">Name on Card</label>
1415
<input type="text" id="name" required>
1516

16-
<label for="email">Email</label>
17-
<input type="email" id="email" required>
17+
<label for="card">Card Number</label>
18+
<input type="text" id="card" required>
1819

19-
<label for="address">Address</label>
20-
<textarea id="address" required></textarea>
20+
<label for="exp">Expiry Date</label>
21+
<input type="month" id="exp" required>
2122

22-
<button type="submit">Submit</button>
23-
</form>
23+
<label for="cvv">CVV</label>
24+
<input type="password" id="cvv" required>
25+
26+
<button>Submit</button>
27+
</form>
28+
</div>
2429

2530
</body>
2631
</html>

0 commit comments

Comments
 (0)