Skip to content

Commit dc691ac

Browse files
committed
📝🤔Todo
1 parent d5c1df1 commit dc691ac

6 files changed

Lines changed: 53 additions & 45 deletions

File tree

‎Authentication/index.html‎

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<!DOCTYPE html>
22
<html lang="en">
3+
34
<head>
45
<meta charset="UTF-8">
56
<meta name="viewport" content="width=device-width, initial-scale=1.0">
@@ -20,8 +21,8 @@
2021
d="M13.106 7.222c0-2.967-2.249-5.032-5.482-5.032-3.35 0-5.646 2.318-5.646 5.702 0 3.493 2.235 5.708 5.762 5.708.862 0 1.689-.123 2.304-.335v-.862c-.43.199-1.354.328-2.29.328-2.926 0-4.813-1.88-4.813-4.798 0-2.844 1.921-4.881 4.594-4.881 2.735 0 4.608 1.688 4.608 4.156 0 1.682-.554 2.769-1.416 2.769-.492 0-.772-.28-.772-.76V5.206H8.923v.834h-.11c-.266-.595-.881-.964-1.6-.964-1.4 0-2.378 1.162-2.378 2.823 0 1.737.957 2.906 2.379 2.906.8 0 1.415-.39 1.709-1.087h.11c.081.67.703 1.148 1.503 1.148 1.572 0 2.57-1.415 2.57-3.643zm-7.177.704c0-1.197.54-1.907 1.456-1.907.93 0 1.524.738 1.524 1.907S8.308 9.84 7.371 9.84c-.895 0-1.442-.725-1.442-1.914z">
2122
</path>
2223
</svg>
23-
<input autocomplete="off" placeholder="Username" id="username" class="input-field"
24-
type="text" required>
24+
<input autocomplete="off" placeholder="Username" id="username" class="input-field" type="text"
25+
required>
2526
</div>
2627
<div class="field">
2728
<svg class="input-icon" xmlns="http://www.w3.org/2000/svg" width="16" height="16"
@@ -45,9 +46,10 @@
4546
<button type="submit" id="check" class="button2">Sign Up</button>&nbsp;&nbsp;
4647
<button id="log" class="button2">Log In</button>
4748
</div>
48-
49+
4950
</form>
5051
</div>
5152
</div>
5253
</body>
54+
5355
</html>

‎Saylani's Admission form/public/index.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ <h1>Registration Form-<span style="color: rgb(34, 97, 179);">SMIT</span></h1>
141141
<button type="submit" id="addData">Submit</button>
142142
</form>
143143
</div>
144-
<!-- <div class="userData">
144+
<!-- <div class="userData">
145145
<h2>Submitted Data</h2>
146146
<div id="dataContainer">
147147

‎Saylani's Admission form/public/script.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ if (addData) {
9292

9393
const snapshots = await getDocs(collection(getStore, "usersInfo"));
9494
snapshots.forEach((doc) => {
95-
console.log(`${doc.id} => ${JSON.stringify(doc.data())}`);
96-
});
95+
console.log(`${doc.id} => ${JSON.stringify(doc.data())}`);
96+
});
9797
})
9898
}

‎Saylani's Admission form/public/style.css‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ select:focus {
117117
}
118118
}
119119
}
120+
120121
.userData {
121122
max-width: 900px;
122123
margin: auto;
@@ -127,18 +128,21 @@ select:focus {
127128
margin-top: 30px;
128129
text-align: center;
129130
}
131+
130132
.userData h2 {
131133
text-align: center;
132134
font-size: 2em;
133135
margin-bottom: 20px;
134136
color: rgb(56, 53, 53);
135137
}
138+
136139
.userData p {
137140
margin: 5px 0;
138141
color: #333;
139142
}
143+
140144
#dataContainer {
141145
display: flex;
142146
flex-direction: column;
143147
gap: 10px;
144-
}
148+
}

‎Todo/index.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ <h2>🔥 Todo App</h2>
1919
<button id="addTodoBtn">Add</button>
2020
</div>
2121
<ul class="todo-list" id="todoList">
22-
22+
2323
</ul>
2424
</div>
2525
</body>

‎Todo/style.css‎

Lines changed: 39 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -77,42 +77,44 @@
7777
margin-bottom: 10px;
7878
}
7979

80-
.todo-item .btn-edit,
81-
.todo-item .btn-delete {
82-
padding: 6px 12px;
83-
border: none;
84-
border-radius: 6px;
85-
font-size: 14px;
86-
color: white;
87-
cursor: pointer;
88-
transition: background 0.3s ease;
89-
}
90-
91-
.todo-item .btn-edit {
92-
background-color: #28a745;
93-
margin-right: 8px;
94-
}
95-
96-
.todo-item .btn-edit:hover {
97-
background-color: #218838;
98-
}
99-
100-
.todo-item .btn-delete {
101-
background-color: #dc3545;
102-
}
103-
104-
.todo-item .btn-delete:hover {
105-
background-color: #c82333;
106-
}
107-
.inp{
108-
width: 65%;
109-
padding: 3px;
110-
border-radius: 4px;
111-
border: 1px solid #ccc;
112-
background-color: #f1f1f1;
113-
border: none;
114-
font-size: 16px;
115-
}
80+
.todo-item .btn-edit,
81+
.todo-item .btn-delete {
82+
padding: 6px 12px;
83+
border: none;
84+
border-radius: 6px;
85+
font-size: 14px;
86+
color: white;
87+
cursor: pointer;
88+
transition: background 0.3s ease;
89+
}
90+
91+
.todo-item .btn-edit {
92+
background-color: #28a745;
93+
margin-right: 8px;
94+
}
95+
96+
.todo-item .btn-edit:hover {
97+
background-color: #218838;
98+
}
99+
100+
.todo-item .btn-delete {
101+
background-color: #dc3545;
102+
}
103+
104+
.todo-item .btn-delete:hover {
105+
background-color: #c82333;
106+
}
107+
108+
.inp {
109+
width: 65%;
110+
padding: 3px;
111+
border-radius: 4px;
112+
border: 1px solid #ccc;
113+
background-color: #f1f1f1;
114+
border: none;
115+
font-size: 16px;
116+
}
117+
116118
.inp:focus {
117119
outline: none;
118-
}
120+
}

0 commit comments

Comments
 (0)