-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
38 lines (33 loc) · 1.6 KB
/
index.html
File metadata and controls
38 lines (33 loc) · 1.6 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>ToDo</title>
<!-- Link to favicon -->
<link rel='shortcut icon' type='image/x-icon' href='resources/favicon.ico' />
<!-- Caveat font, looks good for English and Russian -->
<link href="https://fonts.googleapis.com/css?family=Caveat:400,700&subset=cyrillic,latin-ext" rel="stylesheet">
<!-- Stylesheets -->
<link rel="stylesheet" type="text/css" href="resources/css/reset.css">
<link rel="stylesheet" type="text/css" href="resources/css/style.css">
</head>
<body>
<header>
<!-- Input and add button (icon in SVG format) -->
<input type="text" placeholder="Write something worthy.." id="item" maxlength="123">
<button id="add">
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 16 16"style="enable-background:new 0 0 16 16;" xml:space="preserve"><g><g><path class="fill" d="M16,8c0,0.5-0.5,1-1,1H9v6c0,0.5-0.5,1-1,1s-1-0.5-1-1V9H1C0.5,9,0,8.5,0,8s0.5-1,1-1h6V1c0-0.5,0.5-1,1-1 s1,0.5,1,1v6h6C15.5,7,16,7.5,16,8z"/></g></g></svg>
</button>
</header>
<div class="container">
<!-- Uncompleted tasks -->
<ul class="todo" id="todo"></ul>
<!-- Completed tasks -->
<ul class="todo" id="completed"></ul>
</div>
<!-- JS here -->
<script src="resources/js/main.js"></script>
</body>
</html>