-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
73 lines (57 loc) · 2.67 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<div align="center" style="position:unset;">
<button id="btn" type="button" style="height: 30px;">left side</button>
<button id="btn1" type="button" style="height: 30px" >right side</button>
<div id="left" style="position: unset; border: 5px; border-radius:10px; border-style: solid; border-color: rgb(245, 26, 26);">
<div>
<h3>upload data here</h3>
<input id="name" placeholder="Enter your name" style="margin-top: 1rem;"></input><br>
<input id="age" type="number" placeholder="Enter your age" style="margin-top: 1rem;"></input><br>
<button id="upload" style="margin-top: 1rem;">upload</button><br>
</div><br>
<div style="background-color: aquamarine;">
<h3>Continue with phone auth</h3>
<input placeholder="Enter your phone number" id="phone"type="number" style="border-color: chartreuse;"></input><br>
<button id="otp">get otp</button>
<div id="recaptcha-container"></div>
<h4>enter your otp</h4>
<input placeholder="Enter your otp" id="otptx"type="number" style="border-color: chartreuse;"></input><br>
<button id="otpbtn">submit otp</button>
</div>
</div>
<div id="right" style="position: unset; display: none; border: 5px; border-radius:10px; border-style: solid; border-color: rgb(12, 241, 24);">
<h3>get the data here</h3>
<button id="get">Get data</button>
</div>
</div>
</body>
<!-- The core Firebase JS SDK is always required and must be listed first -->
<script src="https://www.gstatic.com/firebasejs/7.15.5/firebase-app.js"></script>
<script src="https://www.gstatic.com/firebasejs/7.15.5/firebase-database.js"></script>
<script src="https://www.gstatic.com/firebasejs/7.15.5/firebase-auth.js"></script>
<!-- TODO: Add SDKs for Firebase products that you want to use
https://firebase.google.com/docs/web/setup#available-libraries -->
<script>
// Your web app's Firebase configuration
var firebaseConfig = {
apiKey: "AIzaSyC_3IbrP1Zs-VJRFpsxdj_wLfBF6cCAfT4",
authDomain: "fir-27530.firebaseapp.com",
databaseURL: "https://fir-27530.firebaseio.com",
projectId: "fir-27530",
storageBucket: "fir-27530.appspot.com",
messagingSenderId: "574312302229",
appId: "1:574312302229:web:9aff8cc0495699341bfd9c"
};
// Initialize Firebase
firebase.initializeApp(firebaseConfig);
</script>
<script src="js/main.js"></script>
</html>