-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
36 lines (28 loc) · 1.56 KB
/
index.html
File metadata and controls
36 lines (28 loc) · 1.56 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>To-do List</title>
<link href="https://fonts.googleapis.com/css2?family=Montserrat&display=swap" rel="stylesheet">
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="globalContainer">
<div class="todoTitle" contenteditable="true" >Untitled</div>
<div class="allItemsContainer"></div>
</div>
<script type="text/template" id="todoItemHTML">
<div class="todoItem" onmouseover="showButtons(this)" onmouseout="hideButtons(this)" >
<button class="addItemButton hidden" title="Add new item below" onclick="addItem(this)" ></button>
<label class="checkBoxContainer" ><input type="checkbox" onclick="checkBoxClick(this)"> <div class="checkmark"></div></label>
<div class="itemText" contenteditable="true" >Type something...</div>
<button class="addSubItemButton hidden" title="Add subitem below" onclick="addSubItem(this)"></button>
<button class="moveUpButton hidden" title="Move up" onclick="moveUp(this)" ></button>
<button class="moveDownButton hidden" title="Move down" onclick="moveDown(this)" ></button>
<button class="removeButton hidden" title="Delete" onclick="removeItem(this)"></button>
</div>
</script>
<script src="index.js"></script>
</body>
</html>