-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
56 lines (51 loc) · 1.78 KB
/
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
56
<!DOCTYPE html>
<html lang="pt-BR">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>ToDo List</title>
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" rel="stylesheet">
<style>
aside {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 100vh;
border-right: 1px solid #ccc;
}
.task-card {
transition: transform 0.2s, box-shadow 0.2s;
}
.task-card:hover {
transform: scale(1.05);
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
</style>
</head>
<body>
<div class="container-fluid">
<div class="row">
<aside class="col-md-4">
<h2>Nova Tarefa</h2>
<form id="todoForm" class="w-75">
<div class="form-group">
<label for="nomeTarefa">Nome</label>
<input type="text" class="form-control" id="nomeTarefa" required>
</div>
<div class="form-group">
<label for="descricaoTarefa">Descrição</label>
<textarea class="form-control" id="descricaoTarefa" rows="3" required></textarea>
</div>
<button type="submit" class="btn btn-primary">Gravar</button>
</form>
</aside>
<main class="col-md-8">
<h2 style="padding: 15px;">Minha lista de Tarefas</h2>
<div class="row" id="listaTarefas"></div>
</main>
</div>
</div>
<script src="app.js"></script>
</body>
</html>