forked from EstebanMa12/Workshop1
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
84 lines (80 loc) · 4.15 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="shortcut icon" href="media/favicon-32x32.png" type="image/x-icon">
<link rel="stylesheet" href="style.css">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-9ndCyUaIbzAi2FUVXJi0CjmCapSmO7SnpJef0486qhLnuZ2cdeRhO02iuK6FUUVM" crossorigin="anonymous">
<title>Sign up</title>
</head>
<audio id="yay" preload="auto">
<source src="./media/yay.mp3" type="audio/mpeg" />
</audio>
<body class="className">
<div id="congratulations">
<img src="./media/checked.png">
<h1>CONGRATULATIONS</h1>
<h3>You have registered!</h3>
</div>
<div id="fail">
<img src="./media/cancel.png">
<h1>Failure</h1>
<h3>Email already exists</h3>
</div>
<section class="page_section">
<div class="container-fluid">
<div class="row">
<div class="col-12 col-md mycolumn" >
<h1>Learn to code by watching others</h1>
<p>
See how experienced developers solve problems in real-time. Watching scripted tutorial is great, but understanding how developers think is invaluable
</p>
</div>
<div class="col-12 col-md right">
<header class="page_price text-center">
<p>
<span>Try it free 7 days</span>
then $20/mo. thereafter
</p>
</header>
<main>
<form>
<div class="inputContainer">
<input type="text" id="fn" placeholder="First name">
<img class="error" src="./media/icon-error.svg" alt="!">
</div>
<label for="fn" style="display: none;">First name cannot be empty</label>
<div class="inputContainer">
<input type="text" id="sc" placeholder="Last name">
<img src="./media/icon-error.svg" alt="!" class="error">
</div>
<label for="sc" style="display: none;">Last name cannot be empty</label>
<div class="inputContainer">
<input type="email" id="em" placeholder="Email Address">
<img src="./media/icon-error.svg" alt="!" class="error">
</div>
<label for="em" style="display: none;">Email cannot be empty</label>
<div class="inputContainer">
<input type="password" id="ps" placeholder="Password">
<img src="./media/icon-error.svg" alt="!" class="error">
</div>
<label for="ps" style="display: none;" >Password cannot be empty</label>
<button type="submit">CLAIM YOUR FREE TRIAL</button>
</form>
<p>
By clicking the button, you are agreeing to our
<span>Terms and Services</span>
</p>
</main>
</div>
</div>
</div>
</section>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-geWF76RCwLtnZ8qwWowPQNguL3RmwHVBC9FhGdlKrxdiJJigb/j/68SIy3Te4Bkz" crossorigin="anonymous"></script>
<!-- scr.js es código javascript monolítico, main.js es modular -->
<!-- usar módulos en tu código (export, import) da legibilidad y facilita el debuggear -->
<!-- <script src="scr.js"></script> -->
<script type="module" src="main.js"></script>
</body>
</html>