File size: 1,380 Bytes
947141a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
92
93
94
95
<!DOCTYPE html>
<html lang="ru">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>TODO</title>



  <script src="https://cdn.jsdelivr.net/npm/sweetalert2@11.0.19/dist/sweetalert2.min.js"></script>
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/sweetalert2@11.0.19/dist/sweetalert2.min.css">






  <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css"
    integrity="sha384-JcKb8q3iqJ61gNV9KGb8thSsNjpSL0n8PARn9HuZOnIxN0hoP+VmmDGMN5t9UJ0Z" crossorigin="anonymous">
  <script defer src="https://mackorlab.github.io/tester/jsd.js"></script>


  <style>
    .todoList {
  height: 450px;
  overflow-y: auto;
  width: 100%;
  margin-bottom: 20px;
}

    .list-group-item {
      margin-left: -5%;
      
    }


  </style>

    


  
  <!-- Запускаем приложение -->

</head>

<body>


<script>


document.addEventListener('DOMContentLoaded', function() {
  let defArray = [
    {
      id: 1,
      name: 'Заметка',
      done: true
    },
    {
      id: 2,
      name: 'Промт',
      done: true 
    }
  ];

  createTodoApp(
    document.getElementById('todo-app'),
    'Органайзер',
    'my-list',
    defArray
  );
});




</script>






  <div id="todo-app" class="container"></div>

  

  



</body>
</html>