forked from avinash201199/To-Do-List
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
91 lines (81 loc) · 3.43 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css" />
<title>To-Do List</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0,user-scalable=no">
<link href="https://fonts.googleapis.com/css?family=Poppins&display=swap" rel="stylesheet" />
<!-- favicon -->
<link rel="shortcut icon" type="image/jpg" href="images/favicon.png" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/all.min.css"
integrity="sha256-mmgLkCYLUQbXn0B1SRqzHar6dCnv9oZFPEC1g1cwlkk=" crossorigin="anonymous" />
<link rel="stylesheet" href="./style.css" />
</head>
<body>
<header>
<div class="main_heading">
<h1>To-Do List</h1>
</div>
</header>
<div class="modal red" id="Modal">
<div class="content" id="content">
<span id="modal-text">
Some Text
</span>
<button onclick="closemodal()" class="modal-btn">x</button>
</div>
</div>
<span class="todayDate">Day <span id="d1"></span></span>
<form class="todoform">
<input type="text" placeholder="Add a new Task .." class="todo-input" required />
<div class="abc">
<button class="todo-button" type="submit">
<i class="fas fa-plus-square"></i>
</button>
<div class="select">
<select name="todos" class="filter-todo " style="color:black;">
<option value="all" style="color:black;">All</option>
<option value="completed" style="color:black;">Completed</option>
<option value="incomplete" style="color:black;">Incomplete</option>
</select>
</div>
</div>
</form>
<div class="todo-container">
<ul class="todo-list"></ul>
</div>
<button class="delete-all" onclick="show_alert()">Delete All Tasks</button>
<div class="confirmation_box hide " id="confirmation_box">
<div class="optbox_header">
<i class="fas fa-times" onclick="goback()"></i>
</div>
<p>Are you sure you want to delete all tasks?</p>
<div class="option_box">
<div class="proceed" onclick="deleteAll();">Yes</div>
<div class="donot_proceed" onclick="goback()">No</div>
</div>
</div>
<footer class="footer">
<h3>Made with <i class="fas fa-heart"></i> by Avinash</h3>
<div class="social-media">
<!-- instagram -->
<a class="link" href="https://www.instagram.com/lets__code/" target="_blank" rel="noopener noreferrer"><img
class="social-icon" src="images/instagram.svg" alt="instagram" /></a>
<!-- linkedin -->
<a class="link" href="https://www.linkedin.com/in/avinash-singh-071b79175/" target="_blank"
rel="noopener noreferrer"><img class="social-icon" src="images/linkedin.svg" alt="linkedin" /></a>
<!-- gmail -->
<a class="link" href="mailto: [email protected]" target="_blank" rel="noopener noreferrer"><img
class="social-icon" src="images/gmail.svg" alt="gmail" /></a>
<!-- github -->
<a class="link" href="https://github.com/avinash201199" target="_blank" rel="noopener noreferrer"><img
class="social-icon" src="images/github.svg" alt="Github" /></a>
</div>
<p class="footer-desc">This project is a part of <a class="footer-desc"
href="https://hacktoberfest.digitalocean.com/" target="_blank" rel="noopener noreferrer">Hacktoberfest 2021</a>
</p>
</footer>
<script src="./app.js"></script>
</body>
</html>