-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
103 lines (96 loc) · 2.83 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
100
101
102
103
<!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"
/>
<title>Frontend Mentor | Pricing component with toggle</title>
<link
href="https://fonts.googleapis.com/css2?family=Montserrat:wght@700&display=swap"
rel="stylesheet"
/>
<script>
const vh = window.innerHeight * 0.01;
document.documentElement.style.setProperty("--vh", `${vh}px`);
</script>
<link rel="stylesheet" href="./styles.css" />
</head>
<body>
<h1>Our Pricing</h1>
<div class="toggle-container">
<label for="toggle" id="y-label">Annualy</label>
<input
type="checkbox"
name="toggle"
id="toggle"
aria-label="Check this for the annual plan"
/>
<label for="toggle" id="m-label">Monthly</label>
</div>
<div class="card-container">
<div class="basic card">
<div class="plan">
<h2>Basic</h2>
<h3 class="monthly"><span>$</span>19.99</h3>
<h3 class="annually" style="display: none;">
<span>$</span>199.99
</h3>
</div>
<ul>
<li>500 GB Storage</li>
<li>2 Users Allowed</li>
<li>Send up to 3 GB</li>
</ul>
<button>Learn More</button>
</div>
<div class="pro card">
<div class="plan">
<h2>Professional</h2>
<h3 class="monthly"><span>$</span>24.99</h3>
<h3 class="annually" style="display: none;">
<span>$</span>249.99
</h3>
</div>
<ul>
<li>1 TB Storage</li>
<li>5 Users Allowed</li>
<li>Send up to 10 GB</li>
</ul>
<button>Learn More</button>
</div>
<div class="master card">
<div class="plan">
<h2>Master</h2>
<h3 class="monthly"><span>$</span>39.99</h3>
<h3 class="annually" style="display: none;">
<span>$</span>399.99
</h3>
</div>
<ul>
<li>2 TB Storage</li>
<li>10 Users Allowed</li>
<li>Send up to 20 GB</li>
</ul>
<button>Learn More</button>
</div>
</div>
<div class="attribution">
<p>
Challenge by
<a
href="https://www.frontendmentor.io/challenges/pricing-component-with-toggle-8vPwRMIC"
target="_blank"
>Frontend Mentor</a
>. Coded by <a href="https://github.com/tuliosj">tuliosj</a>.
</p>
</div>
</body>
<script src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
<script src="scripts.js"></script>
</html>