-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
52 lines (45 loc) · 2.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Login + Firebase Database</title>
<!-- Cool Google Fonts -->
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Montserrat&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@900&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@500&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Bowlby+One+SC&display=swap" rel="stylesheet">
<!-- Our stylesheet -->
<link rel="stylesheet" type="text/css" href="index.css">
</head>
<body>
<div id="content_container">
<div id="form_container">
<div id="form_header_container">
<h2 id="form_header"> Login + Firebase Database </h2>
</div>
<div id="form_content_container">
<div id="form_content_inner_container">
<input type="text" id="full_name" placeholder="Full name">
<input type="email" id="email" placeholder="Email">
<input type="password" id="password" placeholder="New Password">
<input type="text" id="favourite_song" placeholder="The Best Song Ever">
<input type="text" id="milk_before_cereal" placeholder="Milk Before Cereal? ( Yes | No )">
<div id="button_container">
<button onclick="login()">Login</button>
<button onclick="register()">Register</button>
</div>
</div>
</div>
</div>
</div>
</body>
<!-- The core Firebase JS SDK is always required and must be listed first -->
<script src="https://www.gstatic.com/firebasejs/8.6.8/firebase-app.js"></script>
<!-- TODO: Add SDKs for Firebase products that you want to use
https://firebase.google.com/docs/web/setup#available-libraries -->
<script src="https://www.gstatic.com/firebasejs/8.6.8/firebase-auth.js"></script>
<script src="https://www.gstatic.com/firebasejs/8.6.8/firebase-database.js"></script>
<!-- Our script must be loaded after firebase references -->
<script src="index.js"></script>
</html>