-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
99 lines (91 loc) · 3.62 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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
<!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">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500&display=swap" rel="stylesheet">
<link rel="stylesheet" href="./styles/styles.css">
<title>Frontend Mentor | Interactive card details form</title>
</head>
<body>
<div class="container">
<section id="s1">
<div class="frontCard">
<div class="card__header">
<img src="./images/card-logo.svg" alt="card logo" class="cardLogo">
</div>
<div class="card_details">
<p class="card__number">0000 0000 0000 0000</p>
<p class="card__owner">Jane Appleseed</p>
</div>
<div class="expiracy_date">
<p class="expiracy__month">00</p>/
<p class="expiracy__year">00</p>
</div>
</div>
<div class="backCard">
<p class="cvc__text">000</p>
</div>
</section>
<section id="s2">
<div id="main-content">
<div class="row first">
<div class="col-md-6">
<div class="form-group">
<label for="cardholder-name">Cardholder name</label>
<input type="text" class="form-control" id="cardholder-name" name="cardholder-name"
placeholder="Jane Appleseed" required>
</div>
</div>
<div class="col-md-6">
<div class="form-group">
<label for="card-number">Card number</label>
<input type="text" class="form-control" id="card-number" name="card-number"
placeholder="e.g. 1234 5678 9123 0000" required>
</div>
</div>
</div>
<div id="secondRow">
<div class="firstCol">
<div class="form-group">
<label for="mm">Expiry date (MM/YY)</label>
<input type="text" class="form-control" id="mm" name="mm" placeholder="MM" required>
</div>
</div>
<div class="secondCol">
<div class="form-group">
<input type="text" class="form-control" id="yy" name="yy" placeholder="YY" required>
</div>
</div>
<div class="thirdCol">
<div class="form-group">
<label for="cvc">CVC</label>
<input type="text" class="form-control" id="cvc" name="cvc" placeholder="e.g. 123" required>
</div>
</div>
</div>
<button type="submit" class="btn btn-primary submit">Submit</button>
</div>
<div id="completed-state">
<img src="./images/icon-complete.svg" alt="checkmark icon" class="icon-complete">
<h2 class="successful__title"> Thank you ! </h2>
<p class="successful__content">we've added your card details
<span id="cardholder-name-completed"></span>
</p>
<button class="btn-primary continue">Continue</button>
</div>
<div class="attribution">
Challenge by <a href="https://www.frontendmentor.io?ref=challenge" target="_blank">Frontend Mentor</a> <br>
Coded by <a href="#" target="_blank">Elisabeth Erkekoglou</a>
</div>
</section>
</section>
<script src="app.js"></script>
</body>
</html>