-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
81 lines (76 loc) · 2.95 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" type="image/png" sizes="32x32" href="./images/favicon-32x32.png">
<title>Frontend Mentor | Interactive card details form</title>
<link rel="stylesheet" href="css/reset.css">
<link rel="stylesheet" href="css/style.min.css">
</head>
<body>
<div class="gradient">
<img src=".//images/bg-main-desktop.png" alt="Bg-desktop" class="gradient--desktop">
<img src=".//images/bg-main-mobile.png" alt="Bg-mobile" class="gradient--mobile">
</div>
<div class="context">
<div class="cards">
<div class="cards__card front">
<div class="cards__card--information">
<img src=".//images/card-logo.svg" alt="card_logo">
<p class="cards__card--number">0000 0000 0000 0000</p>
<div class="cards__card--lowerstr">
<p class="cards__card--name">Jane Appleseed</p>
<div class="cards__card--date">
<p class="cards__card--month">00</p>
<p>/</p>
<p class="cards__card--year">00</p>
</div>
</div>
</div>
</div>
<div class="cards__card back">
<p class="cards__card--cvc">000</p>
</div>
</div>
<div class="form">
<form novalidate>
<fieldset class="form__cardholderName">
<label for="cardHolderName">Cardholder Name</label>
<input type="text" id="cardHolderName" name="cardholderName" placeholder="e.g. Jane Appleseed">
<p></p>
</fieldset>
<fieldset class="form__cardNumber">
<label for="cardNumber">Card Number</label>
<input type="text" inputmode="numeric" id="cardNumber" name="cardhNumber" placeholder="e.g. 1234 5678 9123 0000">
<p></p>
</fieldset>
<div class="form__lowerstr">
<fieldset class="form__date">
<label for="date--month">Exp. Date (MM/YY)</label>
<br>
<input type="text" inputmode="numeric" id="date--month" name="month" placeholder="MM">
<input type="text" inputmode="numeric" id="date--year" name="year" placeholder="YY">
<p></p>
</fieldset>
<fieldset class="form__cvc">
<label for="cvc">CVC</label>
<input type="text" inputmode="numeric" id="cvc" name="cvc" placeholder="e.g. 123">
<p></p>
</fieldset>
</div>
<button>Confirm</button>
</form>
</div>
<div class="thks__post">
<img src=".//images/icon-complete.svg" alt="complete-icon">
<h1>THANK YOU!</h1>
<p class="thks__post--text">We’ve added your card details</p>
<button>Continue</button>
</div>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<script src="https://unpkg.com/imask"></script>
<script src=".//js/jquery/validate.js"></script>
</body>
</html>