-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
66 lines (55 loc) · 2.28 KB
/
index.html
File metadata and controls
66 lines (55 loc) · 2.28 KB
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
<!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">
<meta name="description" content="Todo List Manager">
<meta name="author" content="Mohammad Reza Ebrahimi">
<title>ToDo List - Add new item</title>
<script src="assets/js/addNewItem.js" defer></script>
<link rel="stylesheet" href="assets/css/compiled css/header_sytle.css">
<link rel="stylesheet" href="assets/css/compiled css/add_style.css">
<script src="https://code.iconify.design/2/2.0.3/iconify.min.js"></script>
</head>
<body>
<div class="container header">
<header>
<nav>
<ul>
<li><a href="index.html" class="active">Home</a></li>
<li><a href="todos.html?page=1&limit=10">Todos</a></li>
</ul>
</nav>
</header>
</div>
<div class="container">
<div class="ToDo">
<h1>Add New Todo</h1>
<form id="addForm">
<div class="inputDiv">
<label for="inputText" id="InputTextLabel">Title *</label>
<input id="inputText" name="inputText" type="text" placeholder="What will you do today ?">
<span id="TitleError">the title is required</span>
</div>
<div class="inputDiv">
<label for="inputDescription">Description</label>
<input id="inputDescription" name="inputDescription" type="text" placeholder="Some Inormation">
</div>
<div class="inputDiv">
<label for="inputDueDate" id="InputDateLabel">Due Date *</label>
<input id="inputDueDate" name="inputDueDate" type="date">
<span id="DateError">the date is required</span>
</div>
<button type="submit" id="submitInput">ADD</button>
</form>
</div>
</div>
<div class="message hideMessage" id="message">
<span id="messageTitle"></span>
<span id="messageClose" onclick="closeMessage();">X</span>
<hr>
<p id="messageText"></p>
</div>
</body>
</html>