-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
88 lines (78 loc) · 3.59 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
<!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="./assets/images/favicon-32x32.png">
<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="css/success.css">
<link rel="stylesheet" href="css/querries.css">
<title>Frontend Mentor | Newsletter sign-up form with success message</title>
<!-- Feel free to remove these styles or customise in your own stylesheet 👍 -->
<style>
.attribution { font-size: 11px; text-align: center; color: beige; margin-top: 30px;}
.attribution a { color: hsl(0, 0%, 100%); }
</style>
</head>
<body>
<!-- Sign-up form start -->
<main>
<section>
<h1 class="main__header">Stay updated!</h1>
<p class="main__description">Join 60,000+ product managers receiving monthly updates on:</p>
<ul class="main__U-list">
<li>
<svg xmlns="http://www.w3.org/2000/svg" width="21" height="21" viewBox="0 0 21 21">
<g fill="none"><circle cx="10.5" cy="10.5" r="10.5" fill="#FF6155"/><path stroke="#FFF" stroke-width="2" d="M6 11.381 8.735 14 15 8"/></g>
</svg>
Product discovery and building what matters
</li>
<li>
<svg xmlns="http://www.w3.org/2000/svg" width="21" height="21" viewBox="0 0 21 21">
<g fill="none"><circle cx="10.5" cy="10.5" r="10.5" fill="#FF6155"/><path stroke="#FFF" stroke-width="2" d="M6 11.381 8.735 14 15 8"/></g>
</svg>
Measuring to ensure updates are a success
</li>
<li>
<svg xmlns="http://www.w3.org/2000/svg" width="21" height="21" viewBox="0 0 21 21">
<g fill="none"><circle cx="10.5" cy="10.5" r="10.5" fill="#FF6155"/><path stroke="#FFF" stroke-width="2" d="M6 11.381 8.735 14 15 8"/></g>
</svg>
And much more!
</li>
</ul>
<form id="main__form">
<div class="main__form-head">
<label for="email">Email address</label>
<div class="error__message">Valid email required</div>
</div>
<input type="text" name="email" id="email" class="email" placeholder="email@company.com">
<button type="submit">Subscribe to monthly newsletter</button>
</form>
</section>
<aside>
<img src="assets/images/illustration-sign-up-desktop.svg" alt="" class="desktop__illustration">
<img src="assets/images/illustration-sign-up-mobile.svg" class="mobile__illustration" alt="">
</aside>
</main>
<!-- Sign-up form end -->
<!-- Success message start -->
<article>
<svg xmlns="http://www.w3.org/2000/svg" width="50" height="50" viewBox="0 0 21 21">
<g fill="none"><circle cx="10.5" cy="10.5" r="10.5" fill="#FF6155"/><path stroke="#FFF" stroke-width="2" d="M6 11.381 8.735 14 15 8"/></g>
</svg>
<h1>Thanks for subscribing!</h1>
<p>
A confirmation email has been sent to <b>ash@loremcompany.com. </b>
Please open it and click the button inside to confirm your subscription.
</p>
<button class="button">Dismiss message</button>
</article>
<!-- Success message end -->
<div class="attribution">
Challenge by <a href="https://www.frontendmentor.io?ref=challenge" target="_blank">Frontend Mentor</a>.
Coded by <a href="https://sicktooth.github.io/portfolio/" target="_blank">Samuel Osaronungwe</a>.
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.1/jquery.min.js"></script>
<script src="script.js"></script>
</body>
</html>