-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
44 lines (37 loc) · 1.33 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
<html>
<head>
<link rel="shortcut icon" href="#" />
<script src="https://www.gstatic.com/firebasejs/5.9.0/firebase-app.js"></script>
<script src="https://www.gstatic.com/firebasejs/5.9.0/firebase-firestore.js"></script>
<link rel="stylesheet" href="styles.css" />
</head>
<body>
<div class="content">
<form id="add-todo-form">
<input type="text" name="todo" placeholder="To Do" id="todo">
<input type="text" name="note" placeholder="Notes" id="note">
<button id="add" href="index.html" class="btn">+</button>
</form>
<button id="lit" class="btn">💡</button>
</div>
<ul id="todoList"></ul>
<!--Firebase to web app-->
<script>
// Initialize Firebase
var config = {
apiKey: "",
authDomain: "",
databaseURL: "",
projectId: "",
storageBucket: "",
messagingSenderId: "",
appId: "",
measurementId: ""
};
firebase.initializeApp(config);
const db = firebase.firestore();
</script>
<!--Firebase to web app-->
<script src="app.js"></script>
</body>
</html>