-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit f967e22
Showing
5 changed files
with
221 additions
and
0 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<title>Lista de Tarefas</title> | ||
|
||
<!-- ESTILOS --> | ||
<link rel="stylesheet" href="./reset.css" /> | ||
<link rel="stylesheet" href="./style.css" /> | ||
|
||
<!-- SCRIPTS --> | ||
<script src="./script.js" defer></script> | ||
</head> | ||
<body> | ||
<!-- Cabeçalho --> | ||
<header class="header__container"> | ||
<div class="header__content"> | ||
<h1 class="header__title">MY TASKS</h1> | ||
<input | ||
class="header__input--search input__box" | ||
type="search" | ||
placeholder="Pesquisar tarefa" | ||
/> | ||
</div> | ||
</header> | ||
<!-- Conteúdo Principal --> | ||
<main class="main__container"> | ||
<!-- Formulário para adicionar nova task --> | ||
<form class="form__container"> | ||
<h2 class="form__title title2">Inserir tarefa</h2> | ||
<div class="form__input-container"> | ||
<input | ||
id="input_title" | ||
class="form__input--text input__box" | ||
type="text" | ||
placeholder="Digitar titulo da tarefa" | ||
/> | ||
<select class="form__input--priority input__box"> | ||
<option value="">Selecionar tipo</option> | ||
<option value="urgente">Urgente</option> | ||
<option value="importante">Importante</option> | ||
<option value="normal">Normal</option> | ||
</select> | ||
</div> | ||
<button class="form__button--add-task"> | ||
Adicionar Tarefa na Lista | ||
</button> | ||
</form> | ||
|
||
<!-- Listagem de tasks --> | ||
<section class="tasks__container"> | ||
<h2>Tarefas</h2> | ||
<ul class="tasks__list"> | ||
<!-- Task Exemplo 1 --> | ||
<li class="task__item"> | ||
<div class="task-info__container"> | ||
<span class="task-type span-urgent"></span> | ||
<p>Comprar comida para o gato</p> | ||
</div> | ||
<button class="task__button--remove-task"></button> | ||
</li> | ||
<!-- Task Exemplo 2 --> | ||
<li class="task__item"> | ||
<div class="task-info__container"> | ||
<span class="task-type span-important"></span> | ||
<p>Consertar Computador</p> | ||
</div> | ||
<button class="task__button--remove-task"></button> | ||
</li> | ||
<!-- Task Exemplo 3 --> | ||
<li class="task__item"> | ||
<div class="task-info__container"> | ||
<span class="task-type span-normal"></span> | ||
<p>Beber água</p> | ||
</div> | ||
<button class="task__button--remove-task"></button> | ||
</li> | ||
</ul> | ||
</section> | ||
</main> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,124 @@ | ||
reset.css html, | ||
body, | ||
div, | ||
span, | ||
applet, | ||
object, | ||
iframe, | ||
h1, | ||
h2, | ||
h3, | ||
h4, | ||
h5, | ||
h6, | ||
p, | ||
blockquote, | ||
pre, | ||
a, | ||
abbr, | ||
acronym, | ||
address, | ||
big, | ||
cite, | ||
code, | ||
del, | ||
dfn, | ||
em, | ||
img, | ||
ins, | ||
kbd, | ||
q, | ||
s, | ||
samp, | ||
small, | ||
strike, | ||
strong, | ||
sub, | ||
sup, | ||
tt, | ||
var, | ||
b, | ||
u, | ||
i, | ||
center, | ||
dl, | ||
dt, | ||
dd, | ||
ol, | ||
ul, | ||
li, | ||
fieldset, | ||
form, | ||
label, | ||
legend, | ||
table, | ||
caption, | ||
tbody, | ||
tfoot, | ||
thead, | ||
tr, | ||
th, | ||
td, | ||
article, | ||
aside, | ||
canvas, | ||
details, | ||
embed, | ||
figure, | ||
figcaption, | ||
footer, | ||
header, | ||
hgroup, | ||
menu, | ||
nav, | ||
output, | ||
ruby, | ||
section, | ||
summary, | ||
time, | ||
mark, | ||
audio, | ||
video { | ||
margin: 0; | ||
padding: 0; | ||
border: 0; | ||
font-size: 100%; | ||
font: inherit; | ||
vertical-align: baseline; | ||
} | ||
/* HTML5 display-role reset for older browsers */ | ||
article, | ||
aside, | ||
details, | ||
figcaption, | ||
figure, | ||
footer, | ||
header, | ||
hgroup, | ||
menu, | ||
nav, | ||
section { | ||
display: block; | ||
} | ||
body { | ||
line-height: 1; | ||
} | ||
ol, | ||
ul { | ||
list-style: none; | ||
} | ||
blockquote, | ||
q { | ||
quotes: none; | ||
} | ||
blockquote:before, | ||
blockquote:after, | ||
q:before, | ||
q:after { | ||
content: ""; | ||
content: none; | ||
} | ||
table { | ||
border-collapse: collapse; | ||
border-spacing: 0; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
const tasks = [ | ||
{title: "Comprar comida para o gato", type: "Urgente"}, | ||
{title: "Consertar Computador", type: "Importante"}, | ||
{title: "Beber água", type: "Normal"}, | ||
{title: "Enviar relatório trimestral", type: "Importante"}, | ||
{title: "Fazer exercícios físicos", type: "Normal"}, | ||
{title: "Agendar consulta médica", type: "Urgente"}, | ||
{title: "Ler pelo menos um capítulo de um livro", type: "Normal"}, | ||
{title: "Limpar a despensa", type: "Importante"}, | ||
{title: "Pagar a conta de energia", type: "Urgente"}, | ||
{title: "Assistir a um documentário interessante", type: "Normal"}, | ||
]; |
Empty file.