-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
39 lines (36 loc) · 1.61 KB
/
index.html
File metadata and controls
39 lines (36 loc) · 1.61 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
<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="UTF-8">
<link rel="stylesheet" href="css/bootstrap.css">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="keywords" content="todoapp, async storage, todo async storage, todos app, todos em js">
<title>TodoApp - AsyncStorage FrotaDev</title>
</head>
<body>
<div class="container my-5">
<div class="row col-12 justify-content-center">
<div class="col-sm-6 col-md-8 input-group">
<input type="text" name="todoinput" id="inptodo" placeholder="digite um todo" class="form-control">
<div class="input-group-append">
<button class="btn btn-primary" id="btn">Adicionar</button>
</div>
</div>
</div>
</div>
<!-- Renderizando todos adicionados -->
<div class="container">
<div class="row justify-content-center">
<div class="col-md-6 col-sm-6" id="app">
<ul class="list-group"></ul>
</div>
</div>
</div>
<!-- função addtodo -->
<script src="todos.js"></script>
<!-- Bootstrap -->
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script>
<script src="js/bootstrap.js"></script>
</body>
</html>