-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
85 lines (84 loc) · 2.55 KB
/
index.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<!-- displays site properly based on user's device -->
<link
rel="icon"
type="image/png"
sizes="32x32"
href="./images/favicon-32x32.png"
/>
<script src="scripts/scripts.js" defer></script>
<link rel="stylesheet" href="styles/styles.css" />
<title>Frontend Mentor | Interactive card details form</title>
</head>
<body>
<main>
<section class="cards hidden">
<div class="card-back">000</div>
<div class="card-front">
<img src="images/card-logo.svg" alt="" />
<span class="number">0000 0000 0000 0000</span>
<span class="name">Jane Appleseed</span>
<span class="expiry">00/00</span>
</div>
</section>
<section class="form">
<label
>Cardholder Name
<input
id="name"
name="name"
type="text"
placeholder="e.g. Jane Appleseed"
/>
</label>
<label
>Card Number
<input
name="number"
id="number"
type="text"
placeholder="e.g. 1234 5678 9123 0000"
/>
</label>
<div class="bottom-fields">
<div class="expiry-inputs">
<div class="expiry-label">Exp. Date (MM/YY</div>
<label class="hidden-label" for="exp-month">Expiry Month</label>
<input
id="exp-month"
name="exp-month"
type="text"
placeholder="MM"
/>
<label class="hidden-label" for="exp-year">Expiry Year</label>
<input id="exp-year" name="exp-year" type="text" placeholder="YY" />
</div>
<label
>CVC
<input name="cvc" id="cvc" type="text" placeholder="e.g. 123 " />
</label>
</div>
<button type="submit">Confirm</button>
</section>
<!-- Completed state start -->
<section class="completed hidden">
<h1>Thank you!</h1>
<p>We've added your card details</p>
<button type="button">Continue</button>
</section>
</main>
<footer class="attribution">
Challenge by
<a href="https://www.frontendmentor.io?ref=challenge" target="_blank"
>Frontend Mentor</a
>. Coded by
<a href="https://www.frontendmentor.io/profile/seapagan" target="_blank"
>seapagan</a
>.
</footer>
</body>
</html>