-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
106 lines (101 loc) · 5.26 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
101
102
103
104
105
106
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>To-Do=list</title>
<!-- --------------bootstrap css--------------------- -->
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-+0n0xVW2eSR5OomGNYDnhzAbDsOXxcvSN1TPprVMTNDbiYZCxYbOOl7+AMvyTG2x" crossorigin="anonymous">
<!-- -------------/bootstrap css--------------------------- -->
<!-- ----------------------css add--------------------------- -->
<link rel="stylesheet" href="style.css">
<!-- ----------------------/css add--------------------------- -->
</head>
<body>
<!-- ---------------bootstrap navbar------------------- -->
<nav class="navbar navbar-expand-lg navbar-dark">
<div class="container-fluid">
<a class="navbar-brand" href="#">To-Do-List-Creator</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse"
data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false"
aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav me-auto mb-2 mb-lg-0">
</ul>
<form class="d-flex">
<input id="searchTxt" class="form-control me-2" type="search" placeholder="Search..."
aria-label="Search">
</form>
</div>
</div>
</nav>
<!-- ---------------/bootstrap navbar------------------- -->
<!-- ---------------container---------------------------- -->
<div class="container my-3">
<h1>Just Create it</h1>
<!--------------------- bootstrap written card------------------ -->
<div class="card">
<div class="card-body">
<!-- <h5 class="card-title">Card title</h5> -->
<input id="addTitle" type="text" class="form-control my-2" placeholder="Title...">
<textarea id="addTxt" class="form-control my-2" rows="4" placeholder="Write..."></textarea>
<button id="addBtn" class="btn btn-primary">Add Note</button>
</div>
</div>
<!--------------------- /bootstrap written card------------------ -->
<hr>
<h2>Your Notes</h2>
<hr>
<!-- ---------------------bootstrap added card------------------- -->
<div id="notes" class="row container-fluid">
<!-- <div class="card row mx-3 my-3" style="width: 18rem;">
<div class="card-body">
<h5 class="card-title">Card title</h5>
<p class="card-text"></p>
<button class="btn btn-primary">Go somewhere</button>
</div>
</div> -->
</div>
<!-- ---------------------/bootstrap added card------------------- -->
</div>
<!-- ---------------/container---------------------------- -->
<!-- --------------bootstrap js--------------------- -->
<script src="https://cdn.jsdelivr.net/npm/@popperjs/[email protected]/dist/umd/popper.min.js"
integrity="sha384-IQsoLXl5PILFhosVNubq5LC7Qb9DXgDA9i+tQ8Zj3iwWAwPtgFTxbJ8NT4GN1R8p"
crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js"
integrity="sha384-Atwg2Pkwv9vp0ygtn1JAojH0nYbwNJLPhwyoVbhoPwBhjQPR5VtM2+xf0Uwh9KtT"
crossorigin="anonymous"></script>
<!-- -----------------/bootstrap js---------------------- -->
<!-- -----------------script.js add------------------------- -->
<script src="script.js"></script>
<!-- -----------------/script.js add------------------------- -->
<!-------------USE FIREBASE FEATURES-------------- -->
<script type="module">
// Import the functions you need from the SDKs you need
import { initializeApp } from "https://www.gstatic.com/firebasejs/9.1.3/firebase-app.js";
import { getAnalytics } from "https://www.gstatic.com/firebasejs/9.1.3/firebase-analytics.js";
// TODO: Add SDKs for Firebase products that you want to use
// https://firebase.google.com/docs/web/setup#available-libraries
// Your web app's Firebase configuration
// For Firebase JS SDK v7.20.0 and later, measurementId is optional
const firebaseConfig = {
apiKey: "AIzaSyBQcsvcKK0x9qbKNPWQAtY9d6A5fjBvi8M",
authDomain: "freedemoproject-5f500.firebaseapp.com",
projectId: "freedemoproject-5f500",
storageBucket: "freedemoproject-5f500.appspot.com",
messagingSenderId: "1021723723653",
appId: "1:1021723723653:web:fb5db1ac5926f1e08a26ec",
measurementId: "G-0C4BC6GMBW"
};
// Initialize Firebase
const app = initializeApp(firebaseConfig);
const analytics = getAnalytics(app);
</script>
<!-------------/USE FIREBASE FEATURES-------------- -->
</body>
</html>