-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
79 lines (64 loc) · 3.43 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
<!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 -->
<script>
function validateForm() {
var x = document.forms["myForm"]["firstName"].value;
if (x == "" || x == null) {
alert("credentails must be filled out");
return false;
}
}
</script>
<title>Frontend Mentor | Intro component with sign up form</title>
<link href="https://fonts.googleapis.com/css2?family=Poppins&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
<link rel="icon" type="image/png" sizes="32x32" href="./images/favicon-32x32.png">
<link rel="stylesheet" href="styles.css">
<!-- 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>
<!-- Bootstrap Scripts -->
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
</head>
<body>
<div id="Main" class="container-fluid">
<div class="row">
<div class="col-lg-6 lftSide">
<h1> Learn to code by watching others</h1>
<h6 class="hsmall">See how experienced developers solve problems in real-time. Watching scripted tutorials is great,
but understanding how developers think is invaluable.</h6>
</div>
<div class="col-lg-6 rghtSide">
<button type="button" class="btn btn-block btn1" name="button"> <h6 class="h6btn"><b>Try it free 7 days</b> then $20/mo. thereafter</h6></button>
<form onsubmit="return validateForm()" name="myForm" action="index.html" method="post">
<div id="form" class="container-fluid">
<label for="firstName"></label>
<input type="text" placeholder="First Name" name="firstName" value="">
<label for="lastName"></label>
<input type="text" placeholder="Last Name" name="lastName" value="">
<label for="email"></label>
<input type="email" placeholder="Email Address" name="Email" value="">
<label for="password"></label>
<input type="password" placeholder="Password" name="password" value="">
<button type="submit" class="btn btn-block btn2" name="button">CLAIM YOUR FREE TRIAL</button>
<h6 class="ter">By clicking the button, you are agreeing to our <b class="ter">Terms and Services</b></h6>
</div>
</form>
</div>
</div>
</div>
<footer>
<!-- <p class="attribution">
Challenge by <a href="https://www.frontendmentor.io?ref=challenge" target="_blank">Frontend Mentor</a>.
Coded by <a href="#">Your Name Here</a>.
</p> -->
</footer>
</body>
</html>