Files
  • index.html
  • script.js
  • style.css
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
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>To Do List</title>
    <link rel="stylesheet" type="text/css" href="style.css">
    <link href='https://fonts.googleapis.com/css?family=Charmonman' rel='stylesheet' type='text/css'>
    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap-theme.min.css" integrity="sha384-rHyoN1iRsVXV4nD0JutlnGaslCJuC7uwjduW9SVrLvRYooPp2bWYgmgJQIXwl/Sp"
    crossorigin="anonymous">
    <script>document.write('<script src="http://'
        + (location.host || 'localhost').split(':')[0] 
        + ':35729/livereload.js?snipver=1"></'
        + 'script>')</script>

    <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
    <script type="text/javascript" src="script.js"></script>
    <script type="text/javascript" src="underscore-min.js"></script>
 
</head>
<body>
<div class="body_wrap">
    <div class="title">To Do List</div>
   
    <div class="menu_block menu_text">
        <input type="checkbox" class="toggle-all" id="check-all">
        <button type="button" class="btn btn-default" id="addButton" >Add</button>
        <input type="text" id="text" placeholder="Add to do"/>
        
    </div>

    <div id="items_wrap">  </div>


    <div id="nav_block" class="menu_text"></div>

    <div class="menu_block__bottom menu_text">

        <div class="menu_block__bottom_right">
            <div id="pending" class="stats"></div>
            <div id="done" class="stats"></div>
            <div id="clearButton">Clear</div>
        </div>

        <div class="menu_block__bottom_left">
            <div id="bottom_showAll" class="bottom_radio checked"></div><div id="bottom_showAll_text" class="bottom_radio_text">all</div>
            <div id="bottom_showPending" class="bottom_radio"></div><div id="bottom_showPending_text" class="bottom_radio_text">pending</div>
            <div id="bottom_showDone" class="bottom_radio"></div><div id="bottom_showDone_text" class="bottom_radio_text">completed</div>
        </div>

        

    </div>
</div>
</body>
</html>
result
console