-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
64 lines (59 loc) · 3.38 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="description" content="Interactive pricing component" />
<link rel="stylesheet" href="base.css" />
<link rel="stylesheet" href="main.css" />
<link rel="stylesheet" href="buttons.css" />
<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=Manrope:wght@600;800&display=swap" rel="stylesheet" />
<link rel="shortcut icon" href="./assets/favicon-32x32.png" type="image/x-icon" />
<title>Interactive pricing component</title>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<main>
<header class="header">
<h1 class="header-title">Simple, traffic-based pricing</h1>
<p class="body-s-text header-description">Sign-up for our 30-day trial.<br /> No credit card required.</p>
<img src="./assets/pattern-circles.svg" class="header-img" alt="Decorative circle pattern" aria-hidden="true" />
</header>
<article class="pricing-card">
<form>
<!-- TOP SECTION -->
<section id="pricing-card-top">
<div class="pricing-card-between">
<strong class="body-xs-text pricing-card-views" id="pricing-card-pageviews">100k Pageviews</strong>
<strong class="strong-text pricing-card-price pricing-card-price-desktop" id="pricing-card-price">$16.00<span>/ month</span></strong>
</div>
<input type="range" class="pricing-card-slider" min="0" max="4" step="1" id="pricing-card-slider" name="page views/pricing slider"></input>
<strong class="strong-text pricing-card-price pricing-card-price-mobile" id="pricing-card-price-mobile">$16.00<span>/ month</span></strong>
<div class="pricing-card-billing-container">
<p class="small-text pricing-card-billing-text">Monthly Billing</p>
<label class="pricing-card-checkbox">
<input type="checkbox" id="pricing-card-checkbox" name="yearly billing">
<span class="pricing-card-checkbox-slider"></span>
</label>
<p class="small-text pricing-card-billing-text">Yearly Billing</p>
<div class="pricing-card-discount" id="pricing-card-discount-desktop">25% discount</div>
<div class="pricing-card-discount" id="pricing-card-discount-mobile">-25%</div>
</div>
</section>
<!-- BOTTOM SECTION -->
<section id="pricing-card-bottom">
<ul class="pricing-card-features">
<li class="small-text pricing-card-feature"><img src="./assets/icon-check.svg" class="pricing-card-feature-check" alt="Decorative checkmark"/>Unlimited websites</li>
<li class="small-text pricing-card-feature"><img src="./assets/icon-check.svg" class="pricing-card-feature-check" alt="Decorative checkmark"/>100% data ownership</li>
<li class="small-text pricing-card-feature"><img src="./assets/icon-check.svg" class="pricing-card-feature-check" alt="Decorative checkmark"/>Email reports</li>
</ul>
<button class="btn btn-primary">Start my trial</button>
</section>
</form>
</article>
</main>
<script src="./main.js"></script>
</body>
</html>