-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
74 lines (71 loc) · 3.13 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
<!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="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap" rel="stylesheet">
<link rel="icon" type="image/png" sizes="32x32" href="./images/favicon-32x32.png">
<link rel="stylesheet" href="./css/main.css">
<script src="./js/script.js" defer></script>
<title>Frontend Mentor | Intro component with sign up form</title>
<!-- Feel free to remove these styles or customise in your own stylesheet 👍 -->
<style>
.attribution { font-size: 11px; text-align: center; }
.attribution a { color: hsl(228, 45%, 44%); }
</style>
</head>
<body class="flex column center">
<main class="flex text-center all">
<div class="item">
<h1>Learn to code by watching others</h1>
<p>
See how experienced developers solve problems in real-time. Watching scripted tutorials is great,
but understanding how developers think is invaluable.
</p>
</div>
<div class="item">
<div class="price">
<h2><span>Try it free 7 days</span> then $20/mo. thereafter</h2>
</div>
<form action="#">
<!-- <label for="first-name" >First Name</label> -->
<div class="input">
<img src="./images/icon-error.svg" alt="">
<input type="text" id="first-name" name="first-name" placeholder="first name">
<p>First name can not be empty</p>
</div>
<!-- <label for="last-name">Last Name</label> -->
<div class="input">
<img src="./images/icon-error.svg" alt="">
<input type="text" id="last-name" name="last-name" placeholder="last name">
<p>Last name can not be empty</p>
</div>
<!-- <label for="email">Email Address</label> -->
<div class="input">
<img src="./images/icon-error.svg" alt="">
<input type="text" name="email" id="email" placeholder="email address">
<p class="empty">Email can not be empty</p>
<p class="wrong-email">Looks like this is not an email</p>
</div>
<!-- <label for="password">Password</label> -->
<div class="input">
<img src="./images/icon-error.svg" alt="">
<input type="password" name="password" id="password" placeholder="password">
<p>Password can not be empty</p>
</div>
<!-- <button type="submit">Claim your free trial</button> -->
<button type="submit">claim your free trial</button>
<p class="terms">By clicking the button, you are agreeing to our <span>Terms and Services</span></p>
</form>
</div>
</main>
<footer>
<p class="attribution">
<p>Challenge by <a href="https://www.frontendmentor.io?ref=challenge" target="_blank">Frontend Mentor</a>.</p>
<p>Coded by <a href="https://www.lorenzofrancos.com/" target="_blank">@lorenzo.francos</a>.</p>
</p>
</footer>
</body>
</html>