-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
100 lines (78 loc) · 3.47 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
89
90
91
92
93
94
95
96
97
98
99
100
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Mission-To-Mars</title>
<link rel="stylesheet" href="style.css">
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Itim&display=swap" rel="stylesheet">
</head>
<body>
<script src="https://www.gstatic.com/firebasejs/7.2.0/firebase.js"></script>
<script src="https://www.gstatic.com/firebasejs/7.1.0/firebase-database.js"></script>
<!-- The core Firebase JS SDK is always required and must be listed first -->
<!-- TODO: Add SDKs for Firebase products that you want to use
https://firebase.google.com/docs/web/setup#available-libraries -->
<div class="cont">
<div class="form sign-in">
<h2>Welcome back!</h2>
<label>
<span>UserName</span>
<input type="text" placeholder="Your UserName" id="enteredUsername" autocomplete="off" required/>
</label>
<label>
<span>Password</span>
<input type="password" placeholder="Your Password" id="enteredPassword" autocomplete="off" required/>
</label>
<button type="submit" class="submit" id="sign-in-btn">Sign In</button>
</div>
<div class="sub-cont">
<div class="img">
<div class="img__text m--up">
<h2>New here?</h2>
<p>Sign up and Discover our Space!</p>
</div>
<div class="img__text m--in">
<h2>One of us?</h2>
<p>If you already has an account, just sign in. </p>
</div>
<div class="img__btn">
<span class="m--up">Sign Up</span>
<span class="m--in">Sign In</span>
</div>
</div>
<div class="form sign-up">
<h2>Register With NASA-SpaceX to Explore Space</h2>
<label>
<span>Name</span>
<input type="text" placeholder="Your Name" id="Your-Name" autocomplete="off" required/>
</label>
<label>
<span>UserName</span>
<input type="text" placeholder="UserName" id="UserName" autocomplete="off" required/>
</label>
<label>
<span>Password</span>
<input type="password" placeholder="Unique Password" id="Password" autocomplete="off" required/>
</label>
<label>
<span>Email-Id</span>
<input type="email" placeholder="[email protected]" id="Email-Id" autocomplete="off" required/>
</label>
<label>
<span>Phone-Number</span>
<input type="number" placeholder="+(Country Code) Your Number" id="Phone-Number" autocomplete="off" required/>
</label>
<button type="submit" class="submit" id="sign-btn">Sign Up Now</button>
</div>
</div>
</div>
<script>
document.querySelector('.img__btn').addEventListener('click', function() {
document.querySelector('.cont').classList.toggle('s--signup');
});
</script>
<script src="app.js"></script>
</body>
</html>