-
Notifications
You must be signed in to change notification settings - Fork 0
/
create_account.html
51 lines (40 loc) · 1.47 KB
/
create_account.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
<html>
<head>
<title>Girlspace</title>
<link href="https://fonts.googleapis.com/css?family=Nunito:400,600,700" rel="stylesheet">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Tangerine">
<link rel="stylesheet" href="styleg.css" />
</head>
<body>
<div id="login_div" class="main-div">
<h3>Create an Account</h3>
<input type="text" placeholder="Name" id="name_field"/>
<input type="email" placeholder="Email..." id="email_field" />
<input type="password" placeholder="Password..." id="password_field" />
<button onclick="signUp()">Create</button>
<br>
<h5>Already have an account? <a href="login.html">Login to Account</a></h5>
</div>
<div id="user_div" class="loggedin-div">
<h3>Hi There!</h3>
<p id="user_para"> You're currently logged in.</p>
<button onclick="logout()">Logout</button>
</div>
<script src="https://www.gstatic.com/firebasejs/4.8.1/firebase.js"></script>
<script>
// Initialize Firebase
var config = {
apiKey: "AIzaSyAzx8zpAProo66Niim_CPyNIdccALp6J-I",
authDomain: "girlspace-99e36.firebaseapp.com",
databaseURL: "https://girlspace-99e36.firebaseio.com",
projectId: "girlspace-99e36",
storageBucket: "girlspace-99e36.appspot.com",
messagingSenderId: "424708751198",
appId: "1:424708751198:web:df704c42bb35f571d759cf",
measurementId: "G-G5FZSM01FL"
};
firebase.initializeApp(config);
</script>
<script src="index.js"></script>
</body>
</html>