diff --git a/NandaAndrade/src/css/style.css b/NandaAndrade/src/css/style.css
deleted file mode 100644
index 1ab1b9e..0000000
--- a/NandaAndrade/src/css/style.css
+++ /dev/null
@@ -1,215 +0,0 @@
-* {
- box-sizing: border-box;
- font-family: 'Manjari', sans-serif;
- font-size: 16px;
-}
-
-body {
- margin: 0;
- background-color: #9182A6;
- box-sizing: border-box;
-}
-
-li {
- display: flex;
- max-width: 90%;
- justify-content: space-between;
- cursor: pointer;
-}
-
-button {
- cursor: pointer;
-}
-
-.flex {
- min-height: 100%;
- display: flex;
- align-items: center;
- justify-content: center;
- padding: 2rem;
- flex-direction: column;
-}
-
-.todo__container {
- background-color: white;
- text-align: center;
- margin: 100px auto 0;
- width: 100%;
- max-width: 30rem;
- padding: 0px 0px 32px 0px;
- border-radius: 14px;
- box-shadow: 0px 24px 80px rgba(0, 45, 37, 0.24);
-}
-
-.todo__title {
- text-align: center;
- margin: 40px auto 32px auto;
- display: inline-block;
- font-size: 24px;
- color: #7E77A0;
-}
-
-.todo-form {
- justify-content: center;
- display: flex;
-}
-
-.empty {
- position: relative;
- animation: shake .1s linear;
- animation-iteration-count: 3;
-}
-
-@keyframes shake {
- 0% {
- left: -5px;
- }
- 100% {
- right: -5px;
- }
-}
-
-.todo__tarefas__sample {
- max-width: 90%;
- background: #7e77a01a;
- margin: 0 auto;
- height: 60px;
- border-radius: 24px;
- align-items: center;
- padding: 20px;
- margin: 16px auto;
-}
-
-.todo__tarefas__sample-content {
- background: #8f88b325;
- max-width: 50%;
- height: 20px;
- border-radius: 14px;
-}
-
-.todo__tarefas__sample:last-child {
- opacity: 0.60;
-}
-
-.todo-form__input {
- width: 75%;
- padding: 24px;
- height: 60px;
- background-color: #E6EEC6;
- border-radius: 24px;
- border: 0px;
- outline: none;
- margin-right: 3%;
-}
-
-.todo-form__input:focus {
- outline: none;
- border: solid 3px #B0CF30;
-}
-
-.todo-form__btn {
- background-color: #7E77A0;
- text-transform: uppercase;
- color: white;
- width: 55px;
- height: 55px;
- display: inline-block;
- border-radius: 50%;
- font-size: 24px;
- cursor: pointer;
- border: 0px;
-}
-
-.todo-form__btn:hover {
- box-shadow: 0px 16px 24px rgba(126, 119, 160, 0.267);
- width: 56px;
- height: 56px;
- transition: 0.3s;
-}
-
-.todo__btn-container {
- display: flex;
- align-items: center;
- justify-content: center;
-}
-
-.todo__tudo-feito {
- border: 4px solid #B0CF30;
- box-sizing: border-box;
- border-radius: 24px;
- background-color: transparent;
- padding: 16px 20px 16px 20px;
- margin: 16px 20px 0px 20px;
- color: rgb(73, 73, 73);
-}
-
-.checked {
- text-decoration: line-through wavy #7E77A0;
-}
-
-.todo__tudo-feito:hover {
- background-color: #B0CF30;
- box-shadow: 0px 16px 24px rgba(175, 207, 48, 0.205);
- transition: 0.3s;
-}
-
-.todo__remover-todos {
- border: 4px solid #B0CF30;
- box-sizing: border-box;
- border-radius: 24px;
- background-color: #B0CF30;
- padding: 16px 20px 16px 20px;
- margin: 16px 20px 0px 20px;
- color: #494949;
-}
-
-.todo__remover-todos:hover {
- background-color: transparent;
- box-shadow: 0px 16px 24px rgba(175, 207, 48, 0.205);
- transition: 0.3s;
-}
-
-@media only screen and (max-width: 460px) {
- .todo-form {
- flex-direction: column;
- }
- .todo-form__input {
- width: 90%;
- align-self: center;
- margin: 0 auto;
- }
- .todo-form__btn {
- background-color: #7E77A0;
- text-transform: uppercase;
- color: white;
- width: 90%;
- height: 55px;
- border-radius: 24px;
- align-self: center;
- margin-top: 8px;
- }
- .todo-form__btn:hover {
- box-shadow: 0px 16px 24px rgba(126, 119, 160, 0.267);
- width: 90%;
- transition: 0.3s;
- }
- .todo__btn-container {
- flex-direction: column;
- }
- .todo__tudo-feito {
- width: 90%;
- }
- .todo__tudo-feito:hover {
- background-color: #B0CF30;
- box-shadow: 0px 16px 24px rgba(175, 207, 48, 0.205);
- transition: 0.3s;
- }
- .todo__remover-todos {
- background-color: transparent;
- width: 90%;
- margin-top: 8px;
- }
- .todo__tarefas {
- margin: 32px auto 24px auto;
- }
-}
\ No newline at end of file
diff --git a/NandaAndrade/src/index.html b/NandaAndrade/src/index.html
deleted file mode 100644
index a62b22b..0000000
--- a/NandaAndrade/src/index.html
+++ /dev/null
@@ -1,51 +0,0 @@
-
-
-
-
-
-
-
-
-
- ToDo List
-
-
-
-
-
-
-
Lista de Tarefas
-
-
-
-
-
-
-
- Marcar todos
- Limpar Lista
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/NandaAndrade/src/script.js b/NandaAndrade/src/script.js
deleted file mode 100644
index b6cb9ef..0000000
--- a/NandaAndrade/src/script.js
+++ /dev/null
@@ -1,93 +0,0 @@
-//variável do input (caixinha)
-const inputado = document.querySelector('#todoInput');
-
-//variável para o botão+
-const botao = document.getElementById('todoSubmit');
-
-//variavél para a lista
-const listaTarefas = document.getElementById('todoLista');
-
-//variável para o formulário
-const formulario = document.getElementById('todoForm');
-
-//variável para o botao "MArcar todos"
-const botaoMarcarTodos = document.querySelector('#todoMarcarTodos');
-
-const botaoLimpar = document.getElementById('todoRemoverTodos');
-
-//função do botão + (ação do botão de acrescentar as tarefas)
-botao.addEventListener('click', (event) => {
-
- event.preventDefault();
-
-// criando elementos no JS dentro da função
- const elementoLista = document.createElement('li');
- const textoElemento = document.createElement('p');
- const elementoRemove = document.createElement('span');
-
- textoElemento.innerText = inputado.value;
- elementoRemove.innerText = '🗑';
-
- if(textoElemento.innerText.trim() === ''){
- alert("Insira uma tarefa");
- }else{
- listaTarefas.appendChild(elementoLista);
- elementoLista.appendChild(textoElemento);
- elementoLista.appendChild(elementoRemove);
-
- //ação de limpar o histórico do formulario
- formulario.reset();
- }
-
- //função checar (risca o item da lista)
-
- textoElemento.addEventListener('click' , () => {
- textoElemento.classList.add('checked');
- });
-
- //função para o botão de remover a lista
-
- elementoRemove.addEventListener('click' , () => {
- elementoLista.remove();
-
- });
-
- //função para marcar todos através do botão na tela "marcar todos"
- botaoMarcarTodos.addEventListener('click' , () => {
-
- if (botaoMarcarTodos.innerText ==='Marcar todos') {
- // o querryselectorall acessa todos os "p"
- const todosParagrafos = document.querySelectorAll('p');
-
- todosParagrafos.forEach(paragrafo => {
- paragrafo.classList.add('checked')
- });
- botaoMarcarTodos.innerText = 'Desmarcar todos';
-
- }else{
- const todosParagrafos = document.querySelectorAll('p');
-
- todosParagrafos.forEach(paragrafo => {
- paragrafo.classList.remove('checked')
- });
- botaoMarcarTodos.innerText = 'Marcar todos';
- }
-
- });
-
- // função limpar tudo da lista
- botaoLimpar.addEventListener('click', () => {
- listaTarefas.remove();
-
-
- //outra forma de fazer
- //botaoLimpar.addEventListener('click', () => {
- // listaTarefas.innerHTML = '';
-
- });
-
-
-
-
-});
-
diff --git a/aline-prado/src/css/style.css b/aline-prado/src/css/style.css
deleted file mode 100644
index a95c82d..0000000
--- a/aline-prado/src/css/style.css
+++ /dev/null
@@ -1,216 +0,0 @@
-* {
- box-sizing: border-box;
- font-family: 'Manjari', sans-serif;
- font-size: 16px;
-}
-
-body {
- margin: 0;
- background-color: #9182A6;
- box-sizing: border-box;
-}
-
-li {
- display: flex;
- max-width: 90%;
- justify-content: space-between;
- cursor: pointer;
-}
-
-button {
- cursor: pointer;
-}
-
-.flex {
- min-height: 100%;
- display: flex;
- align-items: center;
- justify-content: center;
- padding: 2rem;
- flex-direction: column;
-}
-
-.todo__container {
- background-color: white;
- text-align: center;
- margin: 100px auto 0;
- width: 100%;
- max-width: 30rem;
- padding: 0px 0px 32px 0px;
- border-radius: 14px;
- box-shadow: 0px 24px 80px rgba(0, 45, 37, 0.24);
-}
-
-.todo__title {
- text-align: center;
- margin: 40px auto 32px auto;
- display: inline-block;
- font-size: 24px;
- color: #7E77A0;
-}
-
-.todo-form {
- justify-content: center;
- display: flex;
-}
-
-.empty {
- position: relative;
- animation: shake .1s linear;
- animation-iteration-count: 3;
-}
-
-@keyframes shake {
- 0% {
- left: -5px;
- }
- 100% {
- right: -5px;
- }
-}
-
-.todo__tarefas__sample {
- max-width: 90%;
- background: #7e77a01a;
- margin: 0 auto;
- height: 60px;
- border-radius: 24px;
- align-items: center;
- padding: 20px;
- margin: 16px auto;
-}
-
-.todo__tarefas__sample-content {
- background: #8f88b325;
- max-width: 50%;
- height: 20px;
- border-radius: 14px;
-}
-
-.todo__tarefas__sample:last-child {
- opacity: 0.60;
-}
-
-.todo-form__input {
- width: 75%;
- padding: 24px;
- height: 60px;
- background-color: #E6EEC6;
- border-radius: 24px;
- border: 0px;
- outline: none;
- margin-right: 3%;
-}
-
-.todo-form__input:focus {
- outline: none;
- border: solid 3px #B0CF30;
-}
-
-.todo-form__btn {
- background-color: #7E77A0;
- text-transform: uppercase;
- color: white;
- width: 55px;
- height: 55px;
- display: inline-block;
- border-radius: 50%;
- font-size: 24px;
- cursor: pointer;
- border: 0px;
-}
-
-.todo-form__btn:hover {
- box-shadow: 0px 16px 24px rgba(126, 119, 160, 0.267);
- width: 56px;
- height: 56px;
- transition: 0.3s;
-}
-
-.todo__btn-container {
- display: flex;
- align-items: center;
- justify-content: center;
-}
-
-.todo__tudo-feito {
- border: 4px solid #B0CF30;
- box-sizing: border-box;
- border-radius: 24px;
- background-color: transparent;
- padding: 16px 20px 16px 20px;
- margin: 16px 20px 0px 20px;
- color: rgb(73, 73, 73);
-}
-
-.checked {
- background-color: #B0CF30;
- text-decoration: line-through wavy #7E77A0;
-}
-
-.todo__tudo-feito:hover {
- background-color: #B0CF30;
- box-shadow: 0px 16px 24px rgba(175, 207, 48, 0.205);
- transition: 0.3s;
-}
-
-.todo__remover-todos {
- border: 4px solid #B0CF30;
- box-sizing: border-box;
- border-radius: 24px;
- background-color: #B0CF30;
- padding: 16px 20px 16px 20px;
- margin: 16px 20px 0px 20px;
- color: #494949;
-}
-
-.todo__remover-todos:hover {
- background-color: transparent;
- box-shadow: 0px 16px 24px rgba(175, 207, 48, 0.205);
- transition: 0.3s;
-}
-
-@media only screen and (max-width: 460px) {
- .todo-form {
- flex-direction: column;
- }
- .todo-form__input {
- width: 90%;
- align-self: center;
- margin: 0 auto;
- }
- .todo-form__btn {
- background-color: #7E77A0;
- text-transform: uppercase;
- color: white;
- width: 90%;
- height: 55px;
- border-radius: 24px;
- align-self: center;
- margin-top: 8px;
- }
- .todo-form__btn:hover {
- box-shadow: 0px 16px 24px rgba(126, 119, 160, 0.267);
- width: 90%;
- transition: 0.3s;
- }
- .todo__btn-container {
- flex-direction: column;
- }
- .todo__tudo-feito {
- width: 90%;
- }
- .todo__tudo-feito:hover {
- background-color: #B0CF30;
- box-shadow: 0px 16px 24px rgba(175, 207, 48, 0.205);
- transition: 0.3s;
- }
- .todo__remover-todos {
- background-color: transparent;
- width: 90%;
- margin-top: 8px;
- }
- .todo__tarefas {
- margin: 32px auto 24px auto;
- }
-}
\ No newline at end of file
diff --git a/aline-prado/src/index.html b/aline-prado/src/index.html
deleted file mode 100644
index 32a3f42..0000000
--- a/aline-prado/src/index.html
+++ /dev/null
@@ -1,59 +0,0 @@
-
-
-
-
-
-
-
-
-
- ToDo List
-
-
-
-
-
-
-
Lista de Tarefas
-
-
-
-
-
-
-
-
-
- Marcar todos
- Limpar Lista
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/aline-prado/src/script.js b/aline-prado/src/script.js
deleted file mode 100644
index 155bf89..0000000
--- a/aline-prado/src/script.js
+++ /dev/null
@@ -1,75 +0,0 @@
-//variáveis
-const inputado = document.querySelector('#todoInput');
-const botao = document.getElementById ('todoSubmit');
-const listaTarefas = document.getElementById ('todoLista');
-const formulario = document.getElementById('todoForm');
-const botaoMarcarTodos = document.getElementById('todoMarcarTodos');
-const botaoLimpar = document.getElementById('todoRemoverTodos');
-
-//criando evento
-botao.addEventListener('click', (event) => {
- event.preventDefault();
-
- const elementoLista = document.createElement('li');
- const textoElemento = document.createElement('p');
- const deletaElemento = document.createElement('span');
-
-//atribuindo valor
- textoElemento.innerText = inputado.value;
- deletaElemento.innerText = '🗑';
-
- //Fase 2 do projeto
- if(textoElemento.innerText.trim ()=== '') {
- alert ("Insira uma Tarefa")
- } else{
-// acrescentando o elemento filho com o append
- listaTarefas.appendChild(elementoLista);
- elementoLista.appendChild(textoElemento);
- elementoLista.appendChild(deletaElemento);
-
- }
-
- formulario.reset();
-//função checar
- textoElemento.addEventListener('click', ()=> {
- textoElemento.classList.add('checked');
-
- });
-//função deletar
- deletaElemento.addEventListener("click", () => {
- listaTarefas.removeChild(elementoLista);
-
-
- });
-
- botaoMarcarTodos.addEventListener('click', ()=> {
-
- if (botaoMarcarTodos.innerText ==='Marcar todos') {
- const todosParagrafos = document.querySelectorAll('p');
-
- todosParagrafos.forEach(paragrafo => {
- paragrafo.classList.add ("checked");
-
-
- });
- botaoMarcarTodos.innerText = 'Desmarcar todos';
-
- }else{
- const todosParagrafos = document.querySelectorAll('p');
-
- todosParagrafos.forEach(item => {
- item.classList.remove("checked");
- });
-
- botaoMarcarTodos.innerText = 'Marcar todos';
-
-}
-// função limpar
- botaoLimpar.addEventListener("click", () => {
- listaTarefas.innerText = '';
-});
-
-
-});
-
-});
diff --git a/allana-evellyn/src/css/style.css b/allana-evellyn/src/css/style.css
deleted file mode 100644
index b210a8b..0000000
--- a/allana-evellyn/src/css/style.css
+++ /dev/null
@@ -1,215 +0,0 @@
-* {
- box-sizing: border-box;
- font-family: 'Manjari', sans-serif;
- font-size: 16px;
-}
-
-body {
- margin: 0;
- background-color: #96A0FF;
- box-sizing: border-box;
-}
-
-li {
- display: flex;
- max-width: 90%;
- justify-content: space-between;
- cursor: pointer;
-}
-
-button {
- cursor: pointer;
-}
-
-.flex {
- min-height: 100%;
- display: flex;
- align-items: center;
- justify-content: center;
- padding: 2rem;
- flex-direction: column;
-}
-
-.todo__container {
- background-color: #F8F2EC;
- text-align: center;
- margin: 100px auto 0;
- width: 100%;
- max-width: 30rem;
- padding: 0px 0px 32px 0px;
- border-radius: 14px;
- box-shadow: 0px 24px 80px rgba(0, 45, 37, 0.24);
-}
-
-.todo__title {
- text-align: center;
- margin: 40px auto 32px auto;
- display: inline-block;
- font-size: 24px;
- color: #3C4499;
-}
-
-.todo-form {
- justify-content: center;
- display: flex;
-}
-
-.empty {
- position: relative;
- animation: shake .1s linear;
- animation-iteration-count: 3;
-}
-
-@keyframes shake {
- 0% {
- left: -5px;
- }
- 100% {
- right: -5px;
- }
-}
-
-.todo__tarefas__sample {
- max-width: 90%;
- background: #7e77a01a;
- margin: 0 auto;
- height: 60px;
- border-radius: 24px;
- align-items: center;
- padding: 20px;
- margin: 16px auto;
-}
-
-.todo__tarefas__sample-content {
- background: #8f88b325;
- max-width: 50%;
- height: 20px;
- border-radius: 14px;
-}
-
-.todo__tarefas__sample:last-child {
- opacity: 0.60;
-}
-
-.todo-form__input {
- width: 75%;
- padding: 24px;
- height: 60px;
- background-color: #E7DCD2;
- border-radius: 24px;
- border: 0px;
- outline: none;
- margin-right: 3%;
-}
-
-.todo-form__input:focus {
- outline: none;
- border: solid 3px #EBB6C6;
-}
-
-.todo-form__btn {
- background-color: #EBB6C6;
- text-transform: uppercase;
- color: white;
- width: 55px;
- height: 55px;
- display: inline-block;
- border-radius: 50%;
- font-size: 24px;
- cursor: pointer;
- border: 0px;
-}
-
-.todo-form__btn:hover {
- box-shadow: 0px 16px 24px rgba(126, 119, 160, 0.267);
- width: 56px;
- height: 56px;
- transition: 0.3s;
-}
-
-.todo__btn-container {
- display: flex;
- align-items: center;
- justify-content: center;
-}
-
-.todo__tudo-feito {
- border: 4px solid #C4D8D8;
- box-sizing: border-box;
- border-radius: 24px;
- background-color: transparent;
- padding: 16px 20px 16px 20px;
- margin: 16px 20px 0px 20px;
- color: rgb(73, 73, 73);
-}
-
-.checked {
- text-decoration: line-through dotted #3C4499;
-}
-
-.todo__tudo-feito:hover {
- background-color: #C4D8D8;
- box-shadow: 0px 16px 24px rgba(175, 207, 48, 0.205);
- transition: 0.3s;
-}
-
-.todo__remover-todos {
- border: 4px solid #C4D8D8;
- box-sizing: border-box;
- border-radius: 24px;
- background-color: #C4D8D8;
- padding: 16px 20px 16px 20px;
- margin: 16px 20px 0px 20px;
- color: #494949;
-}
-
-.todo__remover-todos:hover {
- background-color: transparent;
- box-shadow: 0px 16px 24px rgba(175, 207, 48, 0.205);
- transition: 0.3s;
-}
-
-@media only screen and (max-width: 460px) {
- .todo-form {
- flex-direction: column;
- }
- .todo-form__input {
- width: 90%;
- align-self: center;
- margin: 0 auto;
- }
- .todo-form__btn {
- background-color: #EBB6C6;
- text-transform: uppercase;
- color: white;
- width: 90%;
- height: 55px;
- border-radius: 24px;
- align-self: center;
- margin-top: 8px;
- }
- .todo-form__btn:hover {
- box-shadow: 0px 16px 24px rgba(126, 119, 160, 0.267);
- width: 90%;
- transition: 0.3s;
- }
- .todo__btn-container {
- flex-direction: column;
- }
- .todo__tudo-feito {
- width: 90%;
- }
- .todo__tudo-feito:hover {
- background-color: #C4D8D8;
- box-shadow: 0px 16px 24px rgba(175, 207, 48, 0.205);
- transition: 0.3s;
- }
- .todo__remover-todos {
- background-color: transparent;
- width: 90%;
- margin-top: 8px;
- }
- .todo__tarefas {
- margin: 32px auto 24px auto;
- }
-}
\ No newline at end of file
diff --git a/allana-evellyn/src/img/icone-todolist.png b/allana-evellyn/src/img/icone-todolist.png
deleted file mode 100644
index 114ae0e..0000000
Binary files a/allana-evellyn/src/img/icone-todolist.png and /dev/null differ
diff --git a/allana-evellyn/src/index.html b/allana-evellyn/src/index.html
deleted file mode 100644
index fa22011..0000000
--- a/allana-evellyn/src/index.html
+++ /dev/null
@@ -1,56 +0,0 @@
-
-
-
-
-
-
-
-
-
-
- To-do List
-
-
-
-
-
-
-
Lista de Tarefas
-
-
-
-
-
-
-
-
-
- Marcar todos
- Limpar Lista
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/allana-evellyn/src/script.js b/allana-evellyn/src/script.js
deleted file mode 100644
index 4b00467..0000000
--- a/allana-evellyn/src/script.js
+++ /dev/null
@@ -1,93 +0,0 @@
-// precisa:
-// variável do input
-// variável do botão de adicionar
-// variável da ul
-
-const inputTarefas = document.querySelector('#todoInput');
-const botao = document.querySelector('#todoSubmit');
-const listaTarefas = document.querySelector('#todoLista');
-const formulario = document.querySelector('#todoForm');
-const botaoLimpar = document.querySelector('#todoRemoverTodos');
-const botaoMarcarTodos = document.querySelector('#todoMarcarTodos');
-
-
-
-
-// criar evento do botão
-botao.addEventListener('click', (event) => {
- event.preventDefault();
-
- //adiciona os elementos na lista
- const elementoLista = document.createElement('li');
- //cria parágrafo pra onde vai o texto inserido no input
- const textoElemento = document.createElement('p');
- //cria span para excluir linhas individualmente
- const deletaTarefa = document.createElement('span');
-
-
- //inclui o valor do input no quando clicado
- textoElemento.innerText = inputTarefas.value;
- deletaTarefa.innerText = '❌';
-
- if(textoElemento.innerText.trim() === ''){
- alert('Insira uma tarefa');
-
- } else {
- //elemento filho é acrescentado no nó mãe com o append
- listaTarefas.appendChild(elementoLista);
- elementoLista.appendChild(textoElemento);
- elementoLista.appendChild(deletaTarefa);
-
- //apaga infos que estavam no input
- formulario.reset() ;
-
-}
- //tarefa cumprida cheeeeck
- textoElemento.addEventListener('click', () => {
- textoElemento.classList.add('checked');
- });
-
- //função de deletar (removeChild)
- deletaTarefa.addEventListener('click', () => {
- listaTarefas.removeChild(elementoLista);
- // também se resolve com elementoLista.remove();
-
- });
-
-
- //botão que faz todas as marcações
- botaoMarcarTodos.addEventListener('click', () => {
-
- if (botaoMarcarTodos.innerText === 'Marcar todos'){
-
- //pega todas as tags p, pra que quando clicar, marcar tudo
- const todosParagrafos = document.querySelectorAll('p');
-
- //percorre cada um dos itens dos arrays, vai fazer a ação
- todosParagrafos.forEach(item => {
- item.classList.add("checked");
- });
- botaoMarcarTodos.innerText = 'Desmarcar todos';
-
- } else {
-
- const todosParagrafos = document.querySelectorAll('p');
-
- todosParagrafos.forEach(item => {
- item.classList.remove('checked');
- });
-
- botaoMarcarTodos.innerText = 'Marcar todos';
-
- };
-
-
- });
-
- botaoLimpar.addEventListener('click', () => {
- listaTarefas.innerHTML = '';
- });
-
-
-});
-
diff --git a/andreza-santana/src/css/style.css b/andreza-santana/src/css/style.css
deleted file mode 100644
index 4078e18..0000000
--- a/andreza-santana/src/css/style.css
+++ /dev/null
@@ -1,223 +0,0 @@
-* {
- box-sizing: border-box;
- font-family: 'Manjari', sans-serif;
- font-size: 16px;
-}
-
-body {
- margin: 0;
- background-color: #9182A6;
- box-sizing: border-box;
-}
-
-li {
- display: flex;
- max-width: 90%;
- justify-content: space-between;
- cursor: pointer;
-}
-
-button {
- cursor: pointer;
-}
-
-.flex {
- min-height: 100%;
- display: flex;
- align-items: center;
- justify-content: center;
- padding: 2rem;
- flex-direction: column;
-}
-
-.todo__container {
- background-color: white;
- text-align: center;
- margin: 100px auto 0;
- width: 100%;
- max-width: 30rem;
- padding: 0px 0px 32px 0px;
- border-radius: 14px;
- box-shadow: 0px 24px 80px rgba(0, 45, 37, 0.24);
-}
-
-.todo__title {
- text-align: center;
- margin: 40px auto 32px auto;
- display: inline-block;
- font-size: 24px;
- color: #7E77A0;
-}
-
-.todo-form {
- justify-content: center;
- display: flex;
-}
-
-.empty {
- position: relative;
- animation: shake .1s linear;
- animation-iteration-count: 3;
-}
-.deletar {
- display: flex;
- flex-direction: column;
- justify-content: center;
-}
-.checkbox {
- margin-right: 30px;
-}
-
-@keyframes shake {
- 0% {
- left: -5px;
- }
- 100% {
- right: -5px;
- }
-}
-
-.todo__tarefas__sample {
- max-width: 90%;
- background: #7e77a01a;
- margin: 0 auto;
- height: 60px;
- border-radius: 24px;
- align-items: center;
- padding: 20px;
- margin: 16px auto;
-}
-
-.todo__tarefas__sample-content {
- background: #8f88b325;
- max-width: 50%;
- height: 20px;
- border-radius: 14px;
-}
-
-.todo__tarefas__sample:last-child {
- opacity: 0.60;
-}
-
-.todo-form__input {
- width: 75%;
- padding: 24px;
- height: 60px;
- background-color: #E6EEC6;
- border-radius: 24px;
- border: 0px;
- outline: none;
- margin-right: 3%;
-}
-
-.todo-form__input:focus {
- outline: none;
- border: solid 3px #B0CF30;
-}
-
-.todo-form__btn {
- background-color: #7E77A0;
- text-transform: uppercase;
- color: white;
- width: 55px;
- height: 55px;
- display: inline-block;
- border-radius: 50%;
- font-size: 24px;
- cursor: pointer;
- border: 0px;
-}
-
-.todo-form__btn:hover {
- box-shadow: 0px 16px 24px rgba(126, 119, 160, 0.267);
- width: 56px;
- height: 56px;
- transition: 0.3s;
-}
-
-.todo__btn-container {
- display: flex;
- align-items: center;
- justify-content: center;
-}
-
-.todo__tudo-feito {
- border: 4px solid #B0CF30;
- box-sizing: border-box;
- border-radius: 24px;
- background-color: transparent;
- padding: 16px 20px 16px 20px;
- margin: 16px 20px 0px 20px;
- color: rgb(73, 73, 73);
-}
-
-.checked {
- text-decoration: line-through wavy #7E77A0;
-}
-
-.todo__tudo-feito:hover {
- background-color: #B0CF30;
- box-shadow: 0px 16px 24px rgba(175, 207, 48, 0.205);
- transition: 0.3s;
-}
-
-.todo__remover-todos {
- border: 4px solid #B0CF30;
- box-sizing: border-box;
- border-radius: 24px;
- background-color: #B0CF30;
- padding: 16px 20px 16px 20px;
- margin: 16px 20px 0px 20px;
- color: #494949;
-}
-
-.todo__remover-todos:hover {
- background-color: transparent;
- box-shadow: 0px 16px 24px rgba(175, 207, 48, 0.205);
- transition: 0.3s;
-}
-
-@media only screen and (max-width: 460px) {
- .todo-form {
- flex-direction: column;
- }
- .todo-form__input {
- width: 90%;
- align-self: center;
- margin: 0 auto;
- }
- .todo-form__btn {
- background-color: #7E77A0;
- text-transform: uppercase;
- color: white;
- width: 90%;
- height: 55px;
- border-radius: 24px;
- align-self: center;
- margin-top: 8px;
- }
- .todo-form__btn:hover {
- box-shadow: 0px 16px 24px rgba(126, 119, 160, 0.267);
- width: 90%;
- transition: 0.3s;
- }
- .todo__btn-container {
- flex-direction: column;
- }
- .todo__tudo-feito {
- width: 90%;
- }
- .todo__tudo-feito:hover {
- background-color: #B0CF30;
- box-shadow: 0px 16px 24px rgba(175, 207, 48, 0.205);
- transition: 0.3s;
- }
- .todo__remover-todos {
- background-color: transparent;
- width: 90%;
- margin-top: 8px;
- }
- .todo__tarefas {
- margin: 32px auto 24px auto;
- }
-}
\ No newline at end of file
diff --git a/andreza-santana/src/index.html b/andreza-santana/src/index.html
deleted file mode 100644
index 25e83e3..0000000
--- a/andreza-santana/src/index.html
+++ /dev/null
@@ -1,51 +0,0 @@
-
-
-
-
-
-
-
-
-
-
- ToDo List
-
-
-
-
-
-
-
Lista de Tarefas
-
-
-
-
-
-
-
- Marcar todos
- Limpar Lista
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/andreza-santana/src/script.js b/andreza-santana/src/script.js
deleted file mode 100644
index 610cc23..0000000
--- a/andreza-santana/src/script.js
+++ /dev/null
@@ -1,50 +0,0 @@
-// Função que recebe o input do formulário e insere na lista
-document.querySelector('#todoSubmit').addEventListener('click', function (event) {
- event.preventDefault();
- const tarefa = document.querySelector('#todoInput').value;
- if (tarefa === '' || tarefa === ' ' || tarefa === ' ') {
- alert('Por favor, inserir uma tarefa!')
- } else {
- document.querySelector('#todoLista').innerHTML += (`
- ${tarefa}
-
- `);
- }
- limparCampos();
-})
-// Função que limpa os campos inputs do formulário.
-function limparCampos() {
- document.querySelector('#todoInput').value = '';
-}
-// Função que elimina apenas uma tarefa.
-function deletarPublicacao(event) {
- event.target.parentElement.parentElement.remove();
-}
-// Função que marca apenas uma tarefa
-function marcarTarefa(event) {
- event.target.parentElement.classList.toggle("checked");
-}
-// Função que marca todas as tarefas e desmarcar todas as tarefas
-document.querySelector('#todoMarcarTodos').addEventListener('click', function (event) {
- event.preventDefault();
- let paragrafos = document.querySelectorAll('p');
- if (paragrafos.length == 0) {
- return;
- }
- let botaoMarcarTodos = document.querySelector('#todoMarcarTodos');
- if (botaoMarcarTodos.innerText === 'Marcar todos') {
- paragrafos.forEach((paragrafo) => paragrafo.classList.add("checked"));
- document.querySelectorAll('.checkbox').forEach((checkbox) => checkbox.checked = true);
- botaoMarcarTodos.innerText = 'Desmarcar todos';
- } else {
- paragrafos.forEach((paragrafo) => paragrafo.classList.remove("checked"));
- document.querySelectorAll(".checkbox").forEach((checkbox) => checkbox.checked = false);
- botaoMarcarTodos.innerText = 'Marcar todos';
- }
-})
-// Função que elimina todas as tarefas
-document.querySelector('#todoRemoverTodos').addEventListener('click', function (event) {
- event.preventDefault();
- const todasTarefas = document.querySelectorAll('li');
- todasTarefas.forEach((tarefa) => tarefa.remove());
-})
\ No newline at end of file
diff --git a/bruna-souza/src/css/style.css b/bruna-souza/src/css/style.css
deleted file mode 100644
index 1ab1b9e..0000000
--- a/bruna-souza/src/css/style.css
+++ /dev/null
@@ -1,215 +0,0 @@
-* {
- box-sizing: border-box;
- font-family: 'Manjari', sans-serif;
- font-size: 16px;
-}
-
-body {
- margin: 0;
- background-color: #9182A6;
- box-sizing: border-box;
-}
-
-li {
- display: flex;
- max-width: 90%;
- justify-content: space-between;
- cursor: pointer;
-}
-
-button {
- cursor: pointer;
-}
-
-.flex {
- min-height: 100%;
- display: flex;
- align-items: center;
- justify-content: center;
- padding: 2rem;
- flex-direction: column;
-}
-
-.todo__container {
- background-color: white;
- text-align: center;
- margin: 100px auto 0;
- width: 100%;
- max-width: 30rem;
- padding: 0px 0px 32px 0px;
- border-radius: 14px;
- box-shadow: 0px 24px 80px rgba(0, 45, 37, 0.24);
-}
-
-.todo__title {
- text-align: center;
- margin: 40px auto 32px auto;
- display: inline-block;
- font-size: 24px;
- color: #7E77A0;
-}
-
-.todo-form {
- justify-content: center;
- display: flex;
-}
-
-.empty {
- position: relative;
- animation: shake .1s linear;
- animation-iteration-count: 3;
-}
-
-@keyframes shake {
- 0% {
- left: -5px;
- }
- 100% {
- right: -5px;
- }
-}
-
-.todo__tarefas__sample {
- max-width: 90%;
- background: #7e77a01a;
- margin: 0 auto;
- height: 60px;
- border-radius: 24px;
- align-items: center;
- padding: 20px;
- margin: 16px auto;
-}
-
-.todo__tarefas__sample-content {
- background: #8f88b325;
- max-width: 50%;
- height: 20px;
- border-radius: 14px;
-}
-
-.todo__tarefas__sample:last-child {
- opacity: 0.60;
-}
-
-.todo-form__input {
- width: 75%;
- padding: 24px;
- height: 60px;
- background-color: #E6EEC6;
- border-radius: 24px;
- border: 0px;
- outline: none;
- margin-right: 3%;
-}
-
-.todo-form__input:focus {
- outline: none;
- border: solid 3px #B0CF30;
-}
-
-.todo-form__btn {
- background-color: #7E77A0;
- text-transform: uppercase;
- color: white;
- width: 55px;
- height: 55px;
- display: inline-block;
- border-radius: 50%;
- font-size: 24px;
- cursor: pointer;
- border: 0px;
-}
-
-.todo-form__btn:hover {
- box-shadow: 0px 16px 24px rgba(126, 119, 160, 0.267);
- width: 56px;
- height: 56px;
- transition: 0.3s;
-}
-
-.todo__btn-container {
- display: flex;
- align-items: center;
- justify-content: center;
-}
-
-.todo__tudo-feito {
- border: 4px solid #B0CF30;
- box-sizing: border-box;
- border-radius: 24px;
- background-color: transparent;
- padding: 16px 20px 16px 20px;
- margin: 16px 20px 0px 20px;
- color: rgb(73, 73, 73);
-}
-
-.checked {
- text-decoration: line-through wavy #7E77A0;
-}
-
-.todo__tudo-feito:hover {
- background-color: #B0CF30;
- box-shadow: 0px 16px 24px rgba(175, 207, 48, 0.205);
- transition: 0.3s;
-}
-
-.todo__remover-todos {
- border: 4px solid #B0CF30;
- box-sizing: border-box;
- border-radius: 24px;
- background-color: #B0CF30;
- padding: 16px 20px 16px 20px;
- margin: 16px 20px 0px 20px;
- color: #494949;
-}
-
-.todo__remover-todos:hover {
- background-color: transparent;
- box-shadow: 0px 16px 24px rgba(175, 207, 48, 0.205);
- transition: 0.3s;
-}
-
-@media only screen and (max-width: 460px) {
- .todo-form {
- flex-direction: column;
- }
- .todo-form__input {
- width: 90%;
- align-self: center;
- margin: 0 auto;
- }
- .todo-form__btn {
- background-color: #7E77A0;
- text-transform: uppercase;
- color: white;
- width: 90%;
- height: 55px;
- border-radius: 24px;
- align-self: center;
- margin-top: 8px;
- }
- .todo-form__btn:hover {
- box-shadow: 0px 16px 24px rgba(126, 119, 160, 0.267);
- width: 90%;
- transition: 0.3s;
- }
- .todo__btn-container {
- flex-direction: column;
- }
- .todo__tudo-feito {
- width: 90%;
- }
- .todo__tudo-feito:hover {
- background-color: #B0CF30;
- box-shadow: 0px 16px 24px rgba(175, 207, 48, 0.205);
- transition: 0.3s;
- }
- .todo__remover-todos {
- background-color: transparent;
- width: 90%;
- margin-top: 8px;
- }
- .todo__tarefas {
- margin: 32px auto 24px auto;
- }
-}
\ No newline at end of file
diff --git a/bruna-souza/src/index.html b/bruna-souza/src/index.html
deleted file mode 100644
index 322aad5..0000000
--- a/bruna-souza/src/index.html
+++ /dev/null
@@ -1,53 +0,0 @@
-
-
-
-
-
-
-
-
-
- ToDo List
-
-
-
-
-
-
-
Lista de Tarefas
-
-
-
-
-
-
-
-
-
- Marcar todos
- Limpar Lista
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/bruna-souza/src/script.js b/bruna-souza/src/script.js
deleted file mode 100644
index a3c20fa..0000000
--- a/bruna-souza/src/script.js
+++ /dev/null
@@ -1,92 +0,0 @@
-//nó do input
-const inputado = document.querySelector('#todoInput');
-
-//nó do botão
-const botao = document.getElementById('todoSubmit');
-
-//nó da ul
-const listaTarefas = document.getElementById('todoLista');
-
-//nó do formulario
-const formulario = document.getElementById('todoForm');
-
-//nó do botão limpar
-const botaoLimpar = document.getElementById('todoRemoverTodos');
-
-//nó do botão marcar todos
-const botaoMarcarTodos = document.querySelector('#todoMarcarTodos');
-
-/* ! será apagado
- const todosOsSpans = document.querySelectorAll('span');
- console.log(todosOsSpans, "todos os spans"); */
-
-//criar evento botão
-botao.addEventListener('click', (event) => {
- //previne que o formulário seja enviado ao clicar, espera processar o que precisa da função
- event.preventDefault();
-
- const elementoLista = document.createElement('li'); //cria a lista
- const textoElemento = document.createElement('p'); //cria o texto da lista
- const deletaElemento = document.createElement('span');
-
- //atribuimos o valor do input ao criando a partir do clique no botão
- textoElemento.innerText = inputado.value; //innerText: valor do texto da tag
- deletaElemento.innerText = '🗑';
-
- /*FASE 02
- 1º: o código abaixo só deve ocorrer se o input não estiver vazio, caso esteja vazio, precisamos mostrar o alert para o usiário
- 2º: para excluir itens da lista, precisamos criar um elemento que represente isso, e colocar evento para remover o nó do dom*/
-
- // criação de novo item
- if(textoElemento.innerText.trim() === '') {
- alert("Insira uma tarefa"); //aqui se o usuário inserir uma tarefa vazia, irá emitir um alerta
- } else {
- //pegamos o nó mãe e acrescentamos o elemento filho com o append
- listaTarefas.appendChild(elementoLista);
- elementoLista.appendChild(textoElemento);
- elementoLista.appendChild(deletaElemento);
-
- //pegamos o nó do formulário e utilizamos um método para limpar o input
- formulario.reset();
- }
-
- //função de marcar
- textoElemento.addEventListener('click', () => {
- textoElemento.classList.add('checked');
- })
-
- //função de deletar um item da lista
- deletaElemento.addEventListener('click', () => {
- listaTarefas.removeChild(elementoLista)
- //para exlucir todos os elementos de uma vez: listaTarefas.remove();
- })
-
- //função de marcar todos
- botaoMarcarTodos.addEventListener('click', () => {
- //o querySelectorALl retorna um array com itens de acordo com o que foi passado como parâmetro
-
- if (botaoMarcarTodos.innerText === 'Marcar Todos') {
- const todosParagrafos = document.querySelectorAll('p');
-
- todosParagrafos.forEach(paragrafo => {
- paragrafo.classList.add('checked');
- });
- botaoMarcarTodos.innerText = 'Desmarcar Todos';
- } else {
- const todosParagrafos = document.querySelectorAll('p');
-
- todosParagrafos.forEach(paragrafo => {
- paragrafo.classList.remove('checked')
- });
- botaoMarcarTodos.innerText = 'Marcar Todos';
- }
-
- })
-
- //função de deletar todas as tarefas
- botaoLimpar.addEventListener('click', () => {
- listaTarefas.innerHTML = '';
- //outra alternativa: listaTarefas.remove();
- });
-
-});
\ No newline at end of file
diff --git a/dandara-sousa/src/css/style.css b/dandara-sousa/src/css/style.css
deleted file mode 100644
index 5e67082..0000000
--- a/dandara-sousa/src/css/style.css
+++ /dev/null
@@ -1,220 +0,0 @@
-* {
- box-sizing: border-box;
- font-family: 'Manjari', sans-serif;
- font-size: 16px;
-}
-
-.vermelho {
- background-color: red;
- height:200px;
-}
-
-body {
- margin: 0;
- background-color: #9182A6;
- box-sizing: border-box;
-}
-
-li {
- display: flex;
- max-width: 90%;
- justify-content: space-between;
- cursor: pointer;
-}
-
-button {
- cursor: pointer;
-}
-
-.flex {
- min-height: 100%;
- display: flex;
- align-items: center;
- justify-content: center;
- padding: 2rem;
- flex-direction: column;
-}
-
-.todo__container {
- background-color: white;
- text-align: center;
- margin: 100px auto 0;
- width: 100%;
- max-width: 30rem;
- padding: 0px 0px 32px 0px;
- border-radius: 14px;
- box-shadow: 0px 24px 80px rgba(0, 45, 37, 0.24);
-}
-
-.todo__title {
- text-align: center;
- margin: 40px auto 32px auto;
- display: inline-block;
- font-size: 24px;
- color: #7E77A0;
-}
-
-.todo-form {
- justify-content: center;
- display: flex;
-}
-
-.empty {
- position: relative;
- animation: shake .1s linear;
- animation-iteration-count: 3;
-}
-
-@keyframes shake {
- 0% {
- left: -5px;
- }
- 100% {
- right: -5px;
- }
-}
-
-.todo__tarefas__sample {
- max-width: 90%;
- background: #7e77a01a;
- margin: 0 auto;
- height: 60px;
- border-radius: 24px;
- align-items: center;
- padding: 20px;
- margin: 16px auto;
-}
-
-.todo__tarefas__sample-content {
- background: #8f88b325;
- max-width: 50%;
- height: 20px;
- border-radius: 14px;
-}
-
-.todo__tarefas__sample:last-child {
- opacity: 0.60;
-}
-
-.todo-form__input {
- width: 75%;
- padding: 24px;
- height: 60px;
- background-color: #E6EEC6;
- border-radius: 24px;
- border: 0px;
- outline: none;
- margin-right: 3%;
-}
-
-.todo-form__input:focus {
- outline: none;
- border: solid 3px #B0CF30;
-}
-
-.todo-form__btn {
- background-color: #7E77A0;
- text-transform: uppercase;
- color: white;
- width: 55px;
- height: 55px;
- display: inline-block;
- border-radius: 50%;
- font-size: 24px;
- cursor: pointer;
- border: 0px;
-}
-
-.todo-form__btn:hover {
- box-shadow: 0px 16px 24px rgba(126, 119, 160, 0.267);
- width: 56px;
- height: 56px;
- transition: 0.3s;
-}
-
-.todo__btn-container {
- display: flex;
- align-items: center;
- justify-content: center;
-}
-
-.todo__tudo-feito {
- border: 4px solid #B0CF30;
- box-sizing: border-box;
- border-radius: 24px;
- background-color: transparent;
- padding: 16px 20px 16px 20px;
- margin: 16px 20px 0px 20px;
- color: rgb(73, 73, 73);
-}
-
-.checked {
- text-decoration: line-through wavy #7E77A0;
-}
-
-.todo__tudo-feito:hover {
- background-color: #B0CF30;
- box-shadow: 0px 16px 24px rgba(175, 207, 48, 0.205);
- transition: 0.3s;
-}
-
-.todo__remover-todos {
- border: 4px solid #B0CF30;
- box-sizing: border-box;
- border-radius: 24px;
- background-color: #B0CF30;
- padding: 16px 20px 16px 20px;
- margin: 16px 20px 0px 20px;
- color: #494949;
-}
-
-.todo__remover-todos:hover {
- background-color: transparent;
- box-shadow: 0px 16px 24px rgba(175, 207, 48, 0.205);
- transition: 0.3s;
-}
-
-@media only screen and (max-width: 460px) {
- .todo-form {
- flex-direction: column;
- }
- .todo-form__input {
- width: 90%;
- align-self: center;
- margin: 0 auto;
- }
- .todo-form__btn {
- background-color: #7E77A0;
- text-transform: uppercase;
- color: white;
- width: 90%;
- height: 55px;
- border-radius: 24px;
- align-self: center;
- margin-top: 8px;
- }
- .todo-form__btn:hover {
- box-shadow: 0px 16px 24px rgba(126, 119, 160, 0.267);
- width: 90%;
- transition: 0.3s;
- }
- .todo__btn-container {
- flex-direction: column;
- }
- .todo__tudo-feito {
- width: 90%;
- }
- .todo__tudo-feito:hover {
- background-color: #B0CF30;
- box-shadow: 0px 16px 24px rgba(175, 207, 48, 0.205);
- transition: 0.3s;
- }
- .todo__remover-todos {
- background-color: transparent;
- width: 90%;
- margin-top: 8px;
- }
- .todo__tarefas {
- margin: 32px auto 24px auto;
- }
-}
\ No newline at end of file
diff --git a/dandara-sousa/src/index.html b/dandara-sousa/src/index.html
deleted file mode 100644
index cd5717f..0000000
--- a/dandara-sousa/src/index.html
+++ /dev/null
@@ -1,61 +0,0 @@
-
-
-
-
-
-
-
-
-
- ToDo List
-
-
-
-
-
-
-
Lista de Tarefas
-
-
-
-
-
-
-
-
-
-
-
-
-
- Marcar todos
- Limpar Lista
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/dandara-sousa/src/script.js b/dandara-sousa/src/script.js
deleted file mode 100644
index e38e859..0000000
--- a/dandara-sousa/src/script.js
+++ /dev/null
@@ -1,128 +0,0 @@
-
-/////TENTATIVA DE FAZER SOZINHA
-/*const container = document.getElementById('container');
-
-console.log(container, "paragrafo");
-
-
-const texto = document.createElement('p');
-
-texto.innerText = "criando para estudo";
-
-container.appendChild(texto)
-
-const todoLista = document.getElementById('todoLista');
-
-const itensLista = document.createElement('li');
-
-itensLista.innerHTML = ;
-
-todoLista.appendChild(itensLista);*/
-
-
-///// FAZENDO COM A PROFESSORA
-
-//chamar todas as variáveis antes deexecutar suas ações
-
-
-const inputado = document.querySelector('#todoInput');
-const botao = document.getElementById('todoSubmit');
-
-//variável da ul
-const listaTarefas = document.getElementById('todoLista');
-
-//criando variável do formulário
-
-const formulario = document.getElementById('todoForm');
-
-//variavél (nó) do botão limpar
-const botaoLimpar = document.getElementById('todoRemoverTodos');
-
-//variavél (nó) do botão marcar todos
-const botaoMarcarTodos = document.querySelector('#todoMarcarTodos'); /*se habituar a usar o querySelector também*/
-
-//criando o evento botão (todos as ações funcionam após o clique do botão por isso são inseridas dentro do evento botão)
-
-botao.addEventListener('click', (event) => {
- //evita que o formulario seja enviado ao clicar (que é nativo do javascript)
- event.preventDefault();
-
- const elementoLista = document.createElement('li');
- const textoElemento = document.createElement('p');
- const deletaElemento = document.createElement('span'); /*excluir itens da lista individualmente (colocar um evento para remover esse nó do DOM)*/
-
- textoElemento.innerText = inputado.value;
- deletaElemento.innerText = '🧨';
-
-
-// Função apra evitar que o input seja feito com espaços em branco
-//Trim remove os espaços em branco
-if(textoElemento.innerText.trim() === '') {
- alert("Insira uma tarefa")
-} else{
-
- //pega o nó mãe e acrescenta nele um elemento filho através do append
- listaTarefas.appendChild(elementoLista);
- elementoLista.appendChild(textoElemento);
- elementoLista.appendChild(deletaElemento);
-
- //limpa o campo de escrita após o clique
- formulario.reset();
-}
-
-
- //função para dar check no item da lista(para isso é preciso adicionar um evento de clique quando o item for "selecionado")
- textoElemento.addEventListener('click', () =>{
- textoElemento.classList.add('checked');
- });
-
-
- //função para deletar o item da lista ao clicar (ao cilcar no elemento 🧨 a ação vai até a lista de tarefas e remove o elesmento da lista correspondente )
- deletaElemento.addEventListener('click', () =>{
- listaTarefas.removeChild(elementoLista);
- });
-
-
- //função para marcar todos
- botaoMarcarTodos.addEventListener('click', () => {
-
- if (botaoMarcarTodos.innerText=== 'Marcar Todos') {
- const todosParagrafos = document.querySelectorAll('p');
-
- todosParagrafos.forEach(paragrafo => {
- paragrafo.classList.add("checked");
-
- });
-
- botaoMarcarTodos.innerText = 'Desmarcar Todos';
- } else {
-
- const todosParagrafos = document.querySelectorAll('p');
-
- todosParagrafos.forEach(paragrafo => {
- paragrafo.classList.remove("checked");
-
- });
-
- botaoMarcarTodos.innerText = 'Marcar Todos';
-
-
- }
-
-
-
-
- });
-
-
- //função para limpar
- botaoLimpar.addEventListener('click', () => {
- listaTarefas.innerHTML = '';
- console.log("deletar tudo")
- });
-
-});
-
-
diff --git a/diana-martine/src/assets/checked-off.svg b/diana-martine/src/assets/checked-off.svg
deleted file mode 100644
index d8c0f44..0000000
--- a/diana-martine/src/assets/checked-off.svg
+++ /dev/null
@@ -1,48 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/diana-martine/src/assets/checked-on.svg b/diana-martine/src/assets/checked-on.svg
deleted file mode 100644
index 9934a39..0000000
--- a/diana-martine/src/assets/checked-on.svg
+++ /dev/null
@@ -1,41 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/diana-martine/src/assets/minus.svg b/diana-martine/src/assets/minus.svg
deleted file mode 100644
index ea5464e..0000000
--- a/diana-martine/src/assets/minus.svg
+++ /dev/null
@@ -1,37 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/diana-martine/src/css/style.css b/diana-martine/src/css/style.css
deleted file mode 100644
index 7d2a71b..0000000
--- a/diana-martine/src/css/style.css
+++ /dev/null
@@ -1,248 +0,0 @@
-* {
- box-sizing: border-box;
- font-family: "Manjari", sans-serif;
- font-size: 16px;
-}
-
-body {
- margin: 0;
- background-color: antiquewhite;
- box-sizing: border-box;
-}
-
-li {
- display: flex;
- max-width: 90%;
- justify-content: space-between;
- cursor: pointer;
-}
-
-button {
- cursor: pointer;
-}
-
-.flex {
- min-height: 100%;
- display: flex;
- align-items: center;
- justify-content: center;
- padding: 2rem;
- flex-direction: column;
-}
-
-.todo__container {
- background-color: pink;
- text-align: center;
- margin: 100px auto 0;
- width: 100%;
- max-width: 30rem;
- padding: 0px 0px 32px 0px;
- border-radius: 14px;
- box-shadow: 2px 2px 4px black;
-}
-
-.todo__title {
- text-align: center;
- margin: 40px auto 32px auto;
- display: inline-block;
- font-size: 24px;
- color: purple;
-}
-
-.todo-form {
- justify-content: center;
- display: flex;
-}
-
-.empty {
- position: relative;
- animation: shake 0.1s linear;
- animation-iteration-count: 3;
-}
-
-@keyframes shake {
- 0% {
- left: -5px;
- }
- 100% {
- right: -5px;
- }
-}
-
-.todo__tarefas__sample {
- max-width: 90%;
- background: purple;
- margin: 0 auto;
- height: 60px;
- border-radius: 24px;
- align-items: center;
- padding: 20px;
- margin: 16px auto;
-}
-
-.todo__tarefas__sample-content {
- background: #8f88b325;
- max-width: 50%;
- height: 20px;
- border-radius: 14px;
-}
-
-.todo__tarefas__sample:last-child {
- opacity: 0.6;
-}
-
-.todo-form__input {
- width: 75%;
- padding: 24px;
- height: 60px;
- background-color: #e6eec6;
- border-radius: 8px;
- border: 0px;
- outline: none;
- margin-right: 3%;
-}
-
-.todo-form__input:focus {
- outline: none;
- border: solid 1px purple;
-}
-
-.todo-form__btn {
- background-color: purple;
- text-transform: uppercase;
- color: white;
- width: 55px;
- height: 55px;
- display: inline-block;
- border-radius: 50%;
- font-size: 24px;
- cursor: pointer;
- border: 0px;
-}
-
-.todo-form__btn:hover {
- box-shadow: 2px 2px 4px black;
- width: 56px;
- height: 56px;
- transition: 0.3s;
-}
-
-.todo__btn-container {
- display: flex;
- align-items: center;
- justify-content: center;
-}
-
-.todo__tudo-feito {
- border: 1px solid purple;
- box-sizing: border-box;
- border-radius: 8px;
- background-color: transparent;
- padding: 16px 20px 16px 20px;
- margin: 16px 20px 0px 20px;
- color: purple;
-}
-
-.checked {
- text-decoration: line-through;
- opacity: 75%;
-}
-
-.todo__tudo-feito:hover {
- background-color: purple;
- color: antiquewhite;
- box-shadow: 0px 16px 24px purple;
- transition: 0.3s;
-}
-
-.todo__remover-todos {
- border: 1px solid purple;
- box-sizing: border-box;
- border-radius: 8px;
- background-color: purple;
- padding: 16px 20px 16px 20px;
- margin: 16px 20px 0px 20px;
- color: antiquewhite;
-}
-
-.todo__remover-todos:hover {
- background-color: transparent;
- box-shadow: 0px 16px 24px purple;
- transition: 0.3s;
- color: purple;
-}
-
-@media only screen and (max-width: 460px) {
- .todo-form {
- flex-direction: column;
- }
- .todo-form__input {
- width: 90%;
- align-self: center;
- margin: 0 auto;
- }
- .todo-form__btn {
- background-color: purple;
- text-transform: uppercase;
- color: white;
- width: 90%;
- height: 55px;
- border-radius: 24px;
- align-self: center;
- margin-top: 8px;
- }
- .todo-form__btn:hover {
- box-shadow: 0px 16px 24px purple;
- width: 56px;
- height: 56px;
- transition: 0.3s;
- }
- .todo__btn-container {
- flex-direction: column;
- }
- .todo__tudo-feito {
- width: 90%;
- }
- .todo__tudo-feito:hover {
- background-color: purple;
- color: antiquewhite;
- box-shadow: 0px 16px 24px purple;
- transition: 0.3s;
- }
- .todo__remover-todos {
- background-color: transparent;
- width: 90%;
- margin-top: 8px;
- }
- .todo__tarefas {
- margin: 32px auto 24px auto;
- }
-}
-
-/* alterando css dos elementos adicionados pelo JS */
-#todoTarefas {
- background-color: antiquewhite;
- margin: auto;
- width: 26rem;
- border-radius: 8px;
- opacity: 80%;
-}
-
-#todoTarefas:hover {
- opacity: 1;
- transition: .5;
-}
-
-.container-icons {
- width: 4rem;
- display: flex;
- justify-content: space-between;
-}
-
-.check {
- width: 1.5rem;
-}
-
-.remove {
- width: 1.5rem;
-}
diff --git a/diana-martine/src/index.html b/diana-martine/src/index.html
deleted file mode 100644
index e49d74a..0000000
--- a/diana-martine/src/index.html
+++ /dev/null
@@ -1,66 +0,0 @@
-
-
-
-
-
-
-
-
- ToDo List
-
-
-
-
-
-
Lista de Tarefas
-
-
-
-
-
-
-
-
-
-
-
- Marcar todos
-
-
- Limpar Lista
-
-
-
-
-
-
-
-
diff --git a/diana-martine/src/script.js b/diana-martine/src/script.js
deleted file mode 100644
index ca7bdea..0000000
--- a/diana-martine/src/script.js
+++ /dev/null
@@ -1,90 +0,0 @@
-// variáveis globais
-const form = document.querySelector("#todoForm");
-const toDo = document.querySelector("#todoInput");
-const submit = document.querySelector("#todoSubmit");
-const toDoList = document.querySelector("#todoLista");
-const selectAll = document.querySelector("#todoMarcarTodos");
-const clearAll = document.querySelector("#todoRemoverTodos");
-
-// prevenção do botão submit
-submit.addEventListener("click", (e) => {
- e.preventDefault();
-});
-
-// função de adicionar nova tarefa
-function addToDo() {
- // criando elementos de modo dinâmico
- const newToDo = document.createElement("li");
- const newToDoText = document.createElement("p");
- const containerIcons = document.createElement("div");
- const check = document.createElement("img");
- const remove = document.createElement("img");
-
- // alterando atributos dos ícones
- newToDoText.classList.add("newToDoText");
- containerIcons.classList.add("container-icons");
- check.src = "./assets/checked-off.svg";
- check.classList.add("check");
- remove.src = "./assets/minus.svg";
- remove.classList.add("remove");
-
- // adicionando texto de entrada na tarefa adicionada
- newToDoText.innerText = toDo.value;
-
- // tratando erro de entrada
- if (newToDoText.innerText.trim() === "") {
- document.querySelector("#message").innerHTML =
- "Por favor, preencha os campos!";
- } else {
- // adicionando tarefa
- toDoList.appendChild(newToDo);
- newToDo.appendChild(newToDoText);
- newToDo.appendChild(containerIcons);
- containerIcons.appendChild(check);
- containerIcons.appendChild(remove);
- document.querySelector("#message").innerHTML = "";
-
- // limpando formulário
- form.reset();
-
- // função de checado
- check.addEventListener("click", () => {
- if (check.getAttribute("src") == "./assets/checked-off.svg") {
- check.src = "./assets/checked-on.svg";
- newToDoText.classList.add("checked");
- } else {
- check.src = "./assets/checked-off.svg";
- newToDoText.classList.remove("checked");
- }
- });
-
- // função de remover
- remove.addEventListener("click", () => {
- toDoList.removeChild(newToDo);
- });
-
- // função limpar lista
- clearAll.addEventListener("click", () => {
- newToDo.remove();
- });
- }
-}
-
-// função marcar todos
-selectAll.addEventListener("click", () => {
- let getAllToDo = document.querySelectorAll(".newToDoText");
- let getAllCheckIcon = document.querySelectorAll(".check");
-
- if (
- selectAll.innerText === "Marcar todos" ||
- getAllCheckIcon.src == "./assets/checked-off.svg"
- ) {
- getAllToDo.forEach((p) => p.classList.add("checked"));
- getAllCheckIcon.forEach((img) => (img.src = "./assets/checked-on.svg"));
- selectAll.innerText = "Desmarcar todos";
- } else if (selectAll.innerText === "Desmarcar todos") {
- getAllToDo.forEach((p) => p.classList.remove("checked"));
- getAllCheckIcon.forEach((img) => (img.src = "./assets/checked-off.svg"));
- selectAll.innerText = "Marcar todos";
- }
-});
diff --git a/ester-louenco/projeto/src/css/style.css b/ester-louenco/projeto/src/css/style.css
deleted file mode 100644
index 1ab1b9e..0000000
--- a/ester-louenco/projeto/src/css/style.css
+++ /dev/null
@@ -1,215 +0,0 @@
-* {
- box-sizing: border-box;
- font-family: 'Manjari', sans-serif;
- font-size: 16px;
-}
-
-body {
- margin: 0;
- background-color: #9182A6;
- box-sizing: border-box;
-}
-
-li {
- display: flex;
- max-width: 90%;
- justify-content: space-between;
- cursor: pointer;
-}
-
-button {
- cursor: pointer;
-}
-
-.flex {
- min-height: 100%;
- display: flex;
- align-items: center;
- justify-content: center;
- padding: 2rem;
- flex-direction: column;
-}
-
-.todo__container {
- background-color: white;
- text-align: center;
- margin: 100px auto 0;
- width: 100%;
- max-width: 30rem;
- padding: 0px 0px 32px 0px;
- border-radius: 14px;
- box-shadow: 0px 24px 80px rgba(0, 45, 37, 0.24);
-}
-
-.todo__title {
- text-align: center;
- margin: 40px auto 32px auto;
- display: inline-block;
- font-size: 24px;
- color: #7E77A0;
-}
-
-.todo-form {
- justify-content: center;
- display: flex;
-}
-
-.empty {
- position: relative;
- animation: shake .1s linear;
- animation-iteration-count: 3;
-}
-
-@keyframes shake {
- 0% {
- left: -5px;
- }
- 100% {
- right: -5px;
- }
-}
-
-.todo__tarefas__sample {
- max-width: 90%;
- background: #7e77a01a;
- margin: 0 auto;
- height: 60px;
- border-radius: 24px;
- align-items: center;
- padding: 20px;
- margin: 16px auto;
-}
-
-.todo__tarefas__sample-content {
- background: #8f88b325;
- max-width: 50%;
- height: 20px;
- border-radius: 14px;
-}
-
-.todo__tarefas__sample:last-child {
- opacity: 0.60;
-}
-
-.todo-form__input {
- width: 75%;
- padding: 24px;
- height: 60px;
- background-color: #E6EEC6;
- border-radius: 24px;
- border: 0px;
- outline: none;
- margin-right: 3%;
-}
-
-.todo-form__input:focus {
- outline: none;
- border: solid 3px #B0CF30;
-}
-
-.todo-form__btn {
- background-color: #7E77A0;
- text-transform: uppercase;
- color: white;
- width: 55px;
- height: 55px;
- display: inline-block;
- border-radius: 50%;
- font-size: 24px;
- cursor: pointer;
- border: 0px;
-}
-
-.todo-form__btn:hover {
- box-shadow: 0px 16px 24px rgba(126, 119, 160, 0.267);
- width: 56px;
- height: 56px;
- transition: 0.3s;
-}
-
-.todo__btn-container {
- display: flex;
- align-items: center;
- justify-content: center;
-}
-
-.todo__tudo-feito {
- border: 4px solid #B0CF30;
- box-sizing: border-box;
- border-radius: 24px;
- background-color: transparent;
- padding: 16px 20px 16px 20px;
- margin: 16px 20px 0px 20px;
- color: rgb(73, 73, 73);
-}
-
-.checked {
- text-decoration: line-through wavy #7E77A0;
-}
-
-.todo__tudo-feito:hover {
- background-color: #B0CF30;
- box-shadow: 0px 16px 24px rgba(175, 207, 48, 0.205);
- transition: 0.3s;
-}
-
-.todo__remover-todos {
- border: 4px solid #B0CF30;
- box-sizing: border-box;
- border-radius: 24px;
- background-color: #B0CF30;
- padding: 16px 20px 16px 20px;
- margin: 16px 20px 0px 20px;
- color: #494949;
-}
-
-.todo__remover-todos:hover {
- background-color: transparent;
- box-shadow: 0px 16px 24px rgba(175, 207, 48, 0.205);
- transition: 0.3s;
-}
-
-@media only screen and (max-width: 460px) {
- .todo-form {
- flex-direction: column;
- }
- .todo-form__input {
- width: 90%;
- align-self: center;
- margin: 0 auto;
- }
- .todo-form__btn {
- background-color: #7E77A0;
- text-transform: uppercase;
- color: white;
- width: 90%;
- height: 55px;
- border-radius: 24px;
- align-self: center;
- margin-top: 8px;
- }
- .todo-form__btn:hover {
- box-shadow: 0px 16px 24px rgba(126, 119, 160, 0.267);
- width: 90%;
- transition: 0.3s;
- }
- .todo__btn-container {
- flex-direction: column;
- }
- .todo__tudo-feito {
- width: 90%;
- }
- .todo__tudo-feito:hover {
- background-color: #B0CF30;
- box-shadow: 0px 16px 24px rgba(175, 207, 48, 0.205);
- transition: 0.3s;
- }
- .todo__remover-todos {
- background-color: transparent;
- width: 90%;
- margin-top: 8px;
- }
- .todo__tarefas {
- margin: 32px auto 24px auto;
- }
-}
\ No newline at end of file
diff --git a/ester-louenco/projeto/src/index.html b/ester-louenco/projeto/src/index.html
deleted file mode 100644
index 3d5d24e..0000000
--- a/ester-louenco/projeto/src/index.html
+++ /dev/null
@@ -1,50 +0,0 @@
-
-
-
-
-
-
-
-
-
- ToDo List
-
-
-
-
-
-
-
Lista de Tarefas
-
-
-
-
-
-
-
- Marcar todos
- Limpar Lista
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/ester-louenco/projeto/src/script.js b/ester-louenco/projeto/src/script.js
deleted file mode 100644
index 26a20a2..0000000
--- a/ester-louenco/projeto/src/script.js
+++ /dev/null
@@ -1,65 +0,0 @@
-const inputado = document.querySelector('#todoInput');
-const botao = document.getElementById('todoSubmit');
-const listaTarefas = document.getElementById('todoLista');
-const formulario = document.getElementById('todoForm');
-const botaoLimpar = document.getElementById('todoRemoverTodos');
-const botaoMarcarTodas = document.querySelector('#todoMarcarTodos');
-
-botao.addEventListener('click', (event) => {
-
- event.preventDefault();
-
- const elementoLista = document.createElement('li');
- const textoElemento = document.createElement('p');
- const deletaElemento = document.createElement('span');
-
-
- textoElemento.innerText = inputado.value;
- deletaElemento.innerText = '🗑️';
-
- if (textoElemento.innerText.trim() === '') {
- alert("Insira uma tarefa");
- } else {
-
- listaTarefas.appendChild(elementoLista);
- elementoLista.appendChild(textoElemento);
- elementoLista.appendChild(deletaElemento);
-
- formulario.reset();
- }
- textoElemento.addEventListener("click", () => {
- textoElemento.classList.add("checked");
- });
-
- //função de delete
- deletaElemento.addEventListener("click", () => {
- listaTarefas.removeChild(elementoLista);
-
- });
-
- botaoMarcarTodas.addEventListener('click', () => {
- if (botaoMarcarTodas.innerText === 'Marcar todos') {
- const todosParagrafos = document.querySelectorAll('p');
- console.log(todosParagrafos, "vai retornar todos os encontrados");
-
- todosParagrafos.forEach(item => {
- item.classList.add("checked");
- });
- botaoMarcarTodas.innerText = 'Desmarcar todos';
- } else {
- const todosParagrafos = document.querySelectorAll('p');
- todosParagrafos.forEach(item => {
- item.classList.remove("checked");
- });
- botaoMarcarTodas.innerText = 'Marcar todos';
- }
-
- });
-
- // Função de limpar
- botaoLimpar.addEventListener('click', () => {
-
- listaTarefas.innerHTML = '';
- });
-
-});
\ No newline at end of file
diff --git a/gabriela-coutinho/src/css/style.css b/gabriela-coutinho/src/css/style.css
deleted file mode 100644
index 1ab1b9e..0000000
--- a/gabriela-coutinho/src/css/style.css
+++ /dev/null
@@ -1,215 +0,0 @@
-* {
- box-sizing: border-box;
- font-family: 'Manjari', sans-serif;
- font-size: 16px;
-}
-
-body {
- margin: 0;
- background-color: #9182A6;
- box-sizing: border-box;
-}
-
-li {
- display: flex;
- max-width: 90%;
- justify-content: space-between;
- cursor: pointer;
-}
-
-button {
- cursor: pointer;
-}
-
-.flex {
- min-height: 100%;
- display: flex;
- align-items: center;
- justify-content: center;
- padding: 2rem;
- flex-direction: column;
-}
-
-.todo__container {
- background-color: white;
- text-align: center;
- margin: 100px auto 0;
- width: 100%;
- max-width: 30rem;
- padding: 0px 0px 32px 0px;
- border-radius: 14px;
- box-shadow: 0px 24px 80px rgba(0, 45, 37, 0.24);
-}
-
-.todo__title {
- text-align: center;
- margin: 40px auto 32px auto;
- display: inline-block;
- font-size: 24px;
- color: #7E77A0;
-}
-
-.todo-form {
- justify-content: center;
- display: flex;
-}
-
-.empty {
- position: relative;
- animation: shake .1s linear;
- animation-iteration-count: 3;
-}
-
-@keyframes shake {
- 0% {
- left: -5px;
- }
- 100% {
- right: -5px;
- }
-}
-
-.todo__tarefas__sample {
- max-width: 90%;
- background: #7e77a01a;
- margin: 0 auto;
- height: 60px;
- border-radius: 24px;
- align-items: center;
- padding: 20px;
- margin: 16px auto;
-}
-
-.todo__tarefas__sample-content {
- background: #8f88b325;
- max-width: 50%;
- height: 20px;
- border-radius: 14px;
-}
-
-.todo__tarefas__sample:last-child {
- opacity: 0.60;
-}
-
-.todo-form__input {
- width: 75%;
- padding: 24px;
- height: 60px;
- background-color: #E6EEC6;
- border-radius: 24px;
- border: 0px;
- outline: none;
- margin-right: 3%;
-}
-
-.todo-form__input:focus {
- outline: none;
- border: solid 3px #B0CF30;
-}
-
-.todo-form__btn {
- background-color: #7E77A0;
- text-transform: uppercase;
- color: white;
- width: 55px;
- height: 55px;
- display: inline-block;
- border-radius: 50%;
- font-size: 24px;
- cursor: pointer;
- border: 0px;
-}
-
-.todo-form__btn:hover {
- box-shadow: 0px 16px 24px rgba(126, 119, 160, 0.267);
- width: 56px;
- height: 56px;
- transition: 0.3s;
-}
-
-.todo__btn-container {
- display: flex;
- align-items: center;
- justify-content: center;
-}
-
-.todo__tudo-feito {
- border: 4px solid #B0CF30;
- box-sizing: border-box;
- border-radius: 24px;
- background-color: transparent;
- padding: 16px 20px 16px 20px;
- margin: 16px 20px 0px 20px;
- color: rgb(73, 73, 73);
-}
-
-.checked {
- text-decoration: line-through wavy #7E77A0;
-}
-
-.todo__tudo-feito:hover {
- background-color: #B0CF30;
- box-shadow: 0px 16px 24px rgba(175, 207, 48, 0.205);
- transition: 0.3s;
-}
-
-.todo__remover-todos {
- border: 4px solid #B0CF30;
- box-sizing: border-box;
- border-radius: 24px;
- background-color: #B0CF30;
- padding: 16px 20px 16px 20px;
- margin: 16px 20px 0px 20px;
- color: #494949;
-}
-
-.todo__remover-todos:hover {
- background-color: transparent;
- box-shadow: 0px 16px 24px rgba(175, 207, 48, 0.205);
- transition: 0.3s;
-}
-
-@media only screen and (max-width: 460px) {
- .todo-form {
- flex-direction: column;
- }
- .todo-form__input {
- width: 90%;
- align-self: center;
- margin: 0 auto;
- }
- .todo-form__btn {
- background-color: #7E77A0;
- text-transform: uppercase;
- color: white;
- width: 90%;
- height: 55px;
- border-radius: 24px;
- align-self: center;
- margin-top: 8px;
- }
- .todo-form__btn:hover {
- box-shadow: 0px 16px 24px rgba(126, 119, 160, 0.267);
- width: 90%;
- transition: 0.3s;
- }
- .todo__btn-container {
- flex-direction: column;
- }
- .todo__tudo-feito {
- width: 90%;
- }
- .todo__tudo-feito:hover {
- background-color: #B0CF30;
- box-shadow: 0px 16px 24px rgba(175, 207, 48, 0.205);
- transition: 0.3s;
- }
- .todo__remover-todos {
- background-color: transparent;
- width: 90%;
- margin-top: 8px;
- }
- .todo__tarefas {
- margin: 32px auto 24px auto;
- }
-}
\ No newline at end of file
diff --git a/gabriela-coutinho/src/index.html b/gabriela-coutinho/src/index.html
deleted file mode 100644
index 3d5d24e..0000000
--- a/gabriela-coutinho/src/index.html
+++ /dev/null
@@ -1,50 +0,0 @@
-
-
-
-
-
-
-
-
-
- ToDo List
-
-
-
-
-
-
-
Lista de Tarefas
-
-
-
-
-
-
-
- Marcar todos
- Limpar Lista
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/gabriela-coutinho/src/script.js b/gabriela-coutinho/src/script.js
deleted file mode 100644
index 36bfed6..0000000
--- a/gabriela-coutinho/src/script.js
+++ /dev/null
@@ -1,108 +0,0 @@
-// nó do input
-const inputado = document.querySelector('#todoInput');
-
-//nó da botao
-const botao = document.getElementById('todoSubmit');
-
-//nó da ul
-const listaTarefas = document.getElementById('todoLista');
-
-//nó do formulário
-const formulario = document.getElementById('todoForm');
-
-//nó do botão limpar
-const botaoLimpar = document.getElementById('todoRemoverTodos');
-
-// nó do botão marcar todos
-const botaoMarcarTodas = document.querySelector('#todoMarcarTodos');
-
-
-// ! será apagado
-const todosOsSpans = document.querySelectorAll('span');
-console.log(todosOsSpans, "todos os spans");
-
-// criar evento botão
-botao.addEventListener('click', (event) => {
- //previne que o formulário seja enviado ao clicar, espera processar o que precisa da função
- event.preventDefault();
-
- const elementoLista = document.createElement('li');
- const textoElemento = document.createElement('p');
- const deletaElemento = document.createElement('span');
-
- // atribuímos o valor do input ao criado a partir do clique no botão
- textoElemento.innerText = inputado.value;
- deletaElemento.innerText = '🧨';
- // para excluir itens da lista, precisamos criar um elemento que represente isso, e colocar evento para remover o nó do dom
-
-
- if (textoElemento.innerText.trim() === '') {
- alert("Insira uma tarefa");
- } else {
- //pegamos o nó mãe , e acrescentamos o elemento filho com o append
- listaTarefas.appendChild(elementoLista);
- elementoLista.appendChild(textoElemento);
- elementoLista.appendChild(deletaElemento);
-
- // pegamos o nó do formulário e utilizamos um método para limpar o input
- formulario.reset();
-
- }
-
- //função de checar = DÁ O CHECK NO ITEM
- textoElemento.addEventListener("click", () => {
- textoElemento.classList.add("checked");
- });
-
- //função de deletar = REMOVE O ITEM DA LISTA
- deletaElemento.addEventListener("click", () => {
- listaTarefas.removeChild(elementoLista);
- // outra de forma de resolver >>> elementoLista.remove();
- });
-
-
- //TODO função de marcar todos
- botaoMarcarTodas.addEventListener('click', () => {
- // o querySelectorALl retorna um array com itens de acordo o passado como parâmetro
-
- if(botaoMarcarTodas.innerText === 'Marcar todos'){
- const todosParagrafos = document.querySelectorAll('p');
-
- console.log(todosParagrafos, "vai retornar todos os
encontrados");
-
- todosParagrafos.forEach(item => {
- item.classList.add("checked");
- });
-
- botaoMarcarTodas.innerText = 'Desmarcar todos';
- } else {
-
- const todosParagrafos = document.querySelectorAll('p');
-
- todosParagrafos.forEach(item => {
- item.classList.remove("checked");
- });
- botaoMarcarTodas.innerText = 'Marcar todos';
- }
-
- });
-
-
- // CRIA BOTÃO E FUNÇÃO DE LIMPAR
- botaoLimpar.addEventListener('click', () => {
- //listaTarefas é
- listaTarefas.innerHTML = '';
- });
-
-});
-
-
-// exemplo estrutura HTML
-{/* ;; */}
-
-
-
diff --git a/izabelle-souza/src/css/style.css b/izabelle-souza/src/css/style.css
deleted file mode 100644
index 1ab1b9e..0000000
--- a/izabelle-souza/src/css/style.css
+++ /dev/null
@@ -1,215 +0,0 @@
-* {
- box-sizing: border-box;
- font-family: 'Manjari', sans-serif;
- font-size: 16px;
-}
-
-body {
- margin: 0;
- background-color: #9182A6;
- box-sizing: border-box;
-}
-
-li {
- display: flex;
- max-width: 90%;
- justify-content: space-between;
- cursor: pointer;
-}
-
-button {
- cursor: pointer;
-}
-
-.flex {
- min-height: 100%;
- display: flex;
- align-items: center;
- justify-content: center;
- padding: 2rem;
- flex-direction: column;
-}
-
-.todo__container {
- background-color: white;
- text-align: center;
- margin: 100px auto 0;
- width: 100%;
- max-width: 30rem;
- padding: 0px 0px 32px 0px;
- border-radius: 14px;
- box-shadow: 0px 24px 80px rgba(0, 45, 37, 0.24);
-}
-
-.todo__title {
- text-align: center;
- margin: 40px auto 32px auto;
- display: inline-block;
- font-size: 24px;
- color: #7E77A0;
-}
-
-.todo-form {
- justify-content: center;
- display: flex;
-}
-
-.empty {
- position: relative;
- animation: shake .1s linear;
- animation-iteration-count: 3;
-}
-
-@keyframes shake {
- 0% {
- left: -5px;
- }
- 100% {
- right: -5px;
- }
-}
-
-.todo__tarefas__sample {
- max-width: 90%;
- background: #7e77a01a;
- margin: 0 auto;
- height: 60px;
- border-radius: 24px;
- align-items: center;
- padding: 20px;
- margin: 16px auto;
-}
-
-.todo__tarefas__sample-content {
- background: #8f88b325;
- max-width: 50%;
- height: 20px;
- border-radius: 14px;
-}
-
-.todo__tarefas__sample:last-child {
- opacity: 0.60;
-}
-
-.todo-form__input {
- width: 75%;
- padding: 24px;
- height: 60px;
- background-color: #E6EEC6;
- border-radius: 24px;
- border: 0px;
- outline: none;
- margin-right: 3%;
-}
-
-.todo-form__input:focus {
- outline: none;
- border: solid 3px #B0CF30;
-}
-
-.todo-form__btn {
- background-color: #7E77A0;
- text-transform: uppercase;
- color: white;
- width: 55px;
- height: 55px;
- display: inline-block;
- border-radius: 50%;
- font-size: 24px;
- cursor: pointer;
- border: 0px;
-}
-
-.todo-form__btn:hover {
- box-shadow: 0px 16px 24px rgba(126, 119, 160, 0.267);
- width: 56px;
- height: 56px;
- transition: 0.3s;
-}
-
-.todo__btn-container {
- display: flex;
- align-items: center;
- justify-content: center;
-}
-
-.todo__tudo-feito {
- border: 4px solid #B0CF30;
- box-sizing: border-box;
- border-radius: 24px;
- background-color: transparent;
- padding: 16px 20px 16px 20px;
- margin: 16px 20px 0px 20px;
- color: rgb(73, 73, 73);
-}
-
-.checked {
- text-decoration: line-through wavy #7E77A0;
-}
-
-.todo__tudo-feito:hover {
- background-color: #B0CF30;
- box-shadow: 0px 16px 24px rgba(175, 207, 48, 0.205);
- transition: 0.3s;
-}
-
-.todo__remover-todos {
- border: 4px solid #B0CF30;
- box-sizing: border-box;
- border-radius: 24px;
- background-color: #B0CF30;
- padding: 16px 20px 16px 20px;
- margin: 16px 20px 0px 20px;
- color: #494949;
-}
-
-.todo__remover-todos:hover {
- background-color: transparent;
- box-shadow: 0px 16px 24px rgba(175, 207, 48, 0.205);
- transition: 0.3s;
-}
-
-@media only screen and (max-width: 460px) {
- .todo-form {
- flex-direction: column;
- }
- .todo-form__input {
- width: 90%;
- align-self: center;
- margin: 0 auto;
- }
- .todo-form__btn {
- background-color: #7E77A0;
- text-transform: uppercase;
- color: white;
- width: 90%;
- height: 55px;
- border-radius: 24px;
- align-self: center;
- margin-top: 8px;
- }
- .todo-form__btn:hover {
- box-shadow: 0px 16px 24px rgba(126, 119, 160, 0.267);
- width: 90%;
- transition: 0.3s;
- }
- .todo__btn-container {
- flex-direction: column;
- }
- .todo__tudo-feito {
- width: 90%;
- }
- .todo__tudo-feito:hover {
- background-color: #B0CF30;
- box-shadow: 0px 16px 24px rgba(175, 207, 48, 0.205);
- transition: 0.3s;
- }
- .todo__remover-todos {
- background-color: transparent;
- width: 90%;
- margin-top: 8px;
- }
- .todo__tarefas {
- margin: 32px auto 24px auto;
- }
-}
\ No newline at end of file
diff --git a/izabelle-souza/src/index.html b/izabelle-souza/src/index.html
deleted file mode 100644
index 3d5d24e..0000000
--- a/izabelle-souza/src/index.html
+++ /dev/null
@@ -1,50 +0,0 @@
-
-
-
-
-
-
-
-
-
- ToDo List
-
-
-
-
-
-
-
Lista de Tarefas
-
-
-
-
-
-
-
- Marcar todos
- Limpar Lista
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/izabelle-souza/src/script.js b/izabelle-souza/src/script.js
deleted file mode 100644
index 75246bd..0000000
--- a/izabelle-souza/src/script.js
+++ /dev/null
@@ -1,88 +0,0 @@
-/*clicar e adicionar/limpar o campo da tarefa> clicar no botao e excluir a tarefa>*/
-/*colocar input para inserir o elemento dentro>
-/*deletar a tarefa quando clicar o botão de limpar */
-const inputado = document.querySelector('#todoInput');
-const botao = document.getElementById('todoSubmit');
-const listaTarefas = document.getElementById('todoLista');
-const formulario = document.getElementById('todoForm');
-const botaoLimpar = document.getElementById('todoRemoverTodos');
-const botaoMarcarTodas = document.querySelector('#todoMarcarTodos');
-
-//criar evento addEvenListener para adicionar botão//
-botao.addEventListener('click', (event) => {
- //previne que o formulário seja enviado ao clicar, espera processar o que precisa da função
- event.preventDefault();
-
- const elementoLista = document.createElement('li');
- const textoElemento = document.createElement('p');
- const deletaElemento = document.createElement('span');
-
- // atribuímos o valor do input ao criado a partir do clique no botão
- textoElemento.innerText = inputado.value;
- deletaElemento.innerText = '🧨';
- // para excluir itens da lista, precisamos criar um elemento que represente isso, e colocar evento para remover o nó do dom
-
- if (textoElemento.innerText.trim() === '') {
- alert("Insira uma tarefa");
- } else {
- //pegamos o nó mãe , e acrescentamos o elemento filho com o append
- listaTarefas.appendChild(elementoLista);
- elementoLista.appendChild(textoElemento);
- elementoLista.appendChild(deletaElemento);
-
- // pegamos o nó do formulário e utilizamos um método para limpar o input
- formulario.reset();
-
- }
-
- //função de checar
- textoElemento.addEventListener("click", () => {
- textoElemento.classList.add("checked");
- });
-
- //função de deletar
- deletaElemento.addEventListener("click", () => {
- listaTarefas.removeChild(elementoLista);
- // outra de forma de resolver >>> elementoLista.remove();
- });
-
- //? FASE 4 ATÉ 21H
-
- // //TODO função de marcar todos
- botaoMarcarTodas.addEventListener('click', () => {
- // o querySelectorALl retorna um array com itens de acordo o passado como parâmetro
-
-
- if (botaoMarcarTodas.innerText === 'Marcar todos') {
- const todosParagrafos = document.querySelectorAll('p');
- console.log(todosParagrafos, "vai retornar todos os
encontrados");
-
- todosParagrafos.forEach(item => {
- item.classList.add("checked");
- });
- botaoMarcarTodas.innerText = 'Desmarcar todos';
- } else {
- const todosParagrafos = document.querySelectorAll('p');
- todosParagrafos.forEach(item => {
- item.classList.remove("checked");
- });
- botaoMarcarTodas.innerText = 'Marcar todos';
- }
-
- });
-
- //TODO função de limpar
- botaoLimpar.addEventListener('click', () => {
- //listaTarefas é
- listaTarefas.innerHTML = '';
- });
-
-});
-
-
-// exemplo estrutura HTML
-{/* ;; */}
\ No newline at end of file
diff --git a/juliane-andrade/src/.vscode/settings.json b/juliane-andrade/src/.vscode/settings.json
deleted file mode 100644
index 6f3a291..0000000
--- a/juliane-andrade/src/.vscode/settings.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "liveServer.settings.port": 5501
-}
\ No newline at end of file
diff --git a/juliane-andrade/src/css/style.css b/juliane-andrade/src/css/style.css
deleted file mode 100644
index 0372558..0000000
--- a/juliane-andrade/src/css/style.css
+++ /dev/null
@@ -1,249 +0,0 @@
-* {
- box-sizing: border-box;
- font-family: 'Manjari', sans-serif;
- font-size: 16px;
-}
-
-body {
- margin: 0;
- background: linear-gradient(rgba(68, 62, 156, 0.6), rgba(117, 108, 167, 0.7)), url(/juliane-andrade/src/img/background.jpg) no-repeat;
- background-size: cover;
- background-attachment: fixed;
-}
-
-ul {
- margin: 15px 0 10px 0;
- padding: 0;
-}
-
-li {
- display: flex;
- max-width: 100%;
- justify-content: space-between;
- cursor: pointer;
- transition: 0.2s;
- padding-left: 25px;
- padding-right: 25px;
- align-items: center;
-}
-
-button {
- cursor: pointer;
-}
-
-.flex {
- min-height: 100%;
- display: flex;
- align-items: center;
- justify-content: center;
- padding: 2rem;
- flex-direction: column;
-}
-
-.todo__container {
- background-color: white;
- text-align: center;
- margin: 100px auto 0;
- width: 100%;
- max-width: 30rem;
- padding: 0px 0px 32px 0px;
- border-radius: 14px;
- box-shadow: 0px 24px 80px rgba(0, 45, 37, 0.24);
-}
-
-.todo__title {
- text-align: center;
- margin: 40px auto 32px auto;
- display: inline-block;
- font-size: 24px;
- color: #7E77A0;
-}
-
-.todo-form {
- justify-content: center;
- display: flex;
-}
-
-.empty {
- position: relative;
- animation: shake .1s linear;
- animation-iteration-count: 3;
-}
-
-@keyframes shake {
- 0% {
- left: -5px;
- }
- 100% {
- right: -5px;
- }
-}
-
-#mensagem {
- color: red;
-}
-
-ul li:nth-child(odd) {
- background: #d9d8dd;
-}
-
-ul li:hover {
- background: rgb(189, 183, 183);
-}
-
-.todo__tarefas__sample {
- max-width: 90%;
- background: #7e77a01a;
- margin: 0 auto;
- height: 60px;
- border-radius: 24px;
- align-items: center;
- padding: 20px;
- margin: 16px auto;
-}
-
-.todo__tarefas__sample-content {
- background: #8f88b325;
- max-width: 50%;
- height: 20px;
- border-radius: 14px;
-}
-
-.todo__tarefas__sample:last-child {
- opacity: 0.60;
-}
-
-.todo-form__input {
- width: 75%;
- padding: 24px;
- height: 60px;
- background-color: #c6caee;
- border-radius: 24px;
- border: 0px;
- outline: none;
- margin-right: 3%;
-}
-
-.todo-form__input:focus {
- outline: none;
- border: solid 3px #8886ca;
-}
-
-.todo-form__btn {
- background-color: #7E77A0;
- text-transform: uppercase;
- color: white;
- width: 55px;
- height: 55px;
- display: inline-block;
- border-radius: 50%;
- font-size: 24px;
- cursor: pointer;
- border: 0px;
-}
-
-.todo-form__btn:hover {
- box-shadow: 0px 16px 24px rgba(126, 119, 160, 0.267);
- width: 56px;
- height: 56px;
- transition: 0.3s;
-}
-
-.todo__btn-container {
- display: flex;
- align-items: center;
- justify-content: center;
-}
-
-.todo__tudo-feito {
- border: 4px solid #768daf;
- box-sizing: border-box;
- border-radius: 24px;
- background-color: transparent;
- padding: 16px 20px 16px 20px;
- margin: 16px 20px 0px 20px;
- color: rgb(73, 73, 73);
-}
-
-.checked {
- text-decoration: line-through #7E77A0;
-}
-
-.todo__tudo-feito:hover {
- background-color: #7E77A0;
- box-shadow: 0px 16px 24px rgba(175, 207, 48, 0.205);
- transition: 0.3s;
-}
-
-
-/* Add a "checked" mark when clicked on */
-
-.checked::before {
- content: '✔';
- color: rgb(11, 48, 41);
-}
-
-.img {
- height: 24px;
-}
-
-.todo__remover-todos {
- border: 4px solid #7E77A0;
- box-sizing: border-box;
- border-radius: 24px;
- background-color: #7E77A0;
- padding: 16px 20px 16px 20px;
- margin: 16px 20px 0px 20px;
- color: #494949;
-}
-
-.todo__remover-todos:hover {
- background-color: transparent;
- box-shadow: 0px 16px 24px rgba(175, 207, 48, 0.205);
- transition: 0.3s;
-}
-
-@media only screen and (max-width: 460px) {
- .todo-form {
- flex-direction: column;
- }
- .todo-form__input {
- width: 90%;
- align-self: center;
- margin: 0 auto;
- }
- .todo-form__btn {
- background-color: #7E77A0;
- text-transform: uppercase;
- color: white;
- width: 90%;
- height: 55px;
- border-radius: 24px;
- align-self: center;
- margin-top: 8px;
- }
- .todo-form__btn:hover {
- box-shadow: 0px 16px 24px rgba(126, 119, 160, 0.267);
- width: 90%;
- transition: 0.3s;
- }
- .todo__btn-container {
- flex-direction: column;
- }
- .todo__tudo-feito {
- width: 90%;
- }
- .todo__tudo-feito:hover {
- background-color: #7E77A0;
- box-shadow: 0px 16px 24px rgba(175, 207, 48, 0.205);
- transition: 0.3s;
- }
- .todo__remover-todos {
- background-color: transparent;
- width: 90%;
- margin-top: 8px;
- }
- .todo__tarefas {
- margin: 32px auto 24px auto;
- }
-}
\ No newline at end of file
diff --git a/juliane-andrade/src/img/background.jpg b/juliane-andrade/src/img/background.jpg
deleted file mode 100644
index 38d1299..0000000
Binary files a/juliane-andrade/src/img/background.jpg and /dev/null differ
diff --git a/juliane-andrade/src/img/lixeira.png b/juliane-andrade/src/img/lixeira.png
deleted file mode 100644
index 33e9b4c..0000000
Binary files a/juliane-andrade/src/img/lixeira.png and /dev/null differ
diff --git a/juliane-andrade/src/index.html b/juliane-andrade/src/index.html
deleted file mode 100644
index 99fce8d..0000000
--- a/juliane-andrade/src/index.html
+++ /dev/null
@@ -1,52 +0,0 @@
-
-
-
-
-
-
-
-
-
- ToDo List
-
-
-
-
-
-
-
Lista de Tarefas
-
-
-
-
-
-
-
-
- Marcar todos
- Limpar Lista
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/juliane-andrade/src/script.js b/juliane-andrade/src/script.js
deleted file mode 100644
index 9e35286..0000000
--- a/juliane-andrade/src/script.js
+++ /dev/null
@@ -1,86 +0,0 @@
-const botaoSalvar = document.querySelector('#todoSubmit');
-const getTarefa = document.getElementById('todoInput');
-const listaTarefas = document.getElementById('todoLista');
-const formulario = document.getElementById('todoForm');
-const buttonMarcarTodos = document.getElementById('todoMarcarTodos');
-const buttonDeletarTodos = document.getElementById('todoRemoverTodos');
-
-
-
-
-botaoSalvar.addEventListener('click', (event) => {
- event.preventDefault();
-
- const li = document.createElement('li');
- const p = document.createElement('p');
- const imgRemove = document.createElement('img');
- p.innerText = getTarefa.value;
- imgRemove.src = './img/lixeira.png';
- imgRemove.classList.add('img');
-
- //CRIA UM NOVO ITEM
-
- if (p.innerText.trim() === '') {
- document.getElementById('mensagem').innerHTML = 'ATENÇÃO: Insira uma tarefa!'
- } else {
-
- listaTarefas.appendChild(li);
- li.appendChild(p);
- li.appendChild(imgRemove);
- document.getElementById('mensagem').innerHTML = '';
-
- //LIMPA TODOS OS CAMPOS DO FORMULARIO
-
- formulario.reset();
- }
-
- //MARCA O ITEM COMO CHECADO
-
- li.addEventListener('click', function(ev) {
- if (ev.target.tagName === 'P') {
- ev.target.classList.toggle('checked');
- }
- }, false);
-
- //Outra forma de Marcar
-
- /* p.addEventListener('click', () => {
- p.classList.add('checked');
- })*/
-
- //REMOVE O ITEM
-
- imgRemove.addEventListener('click', () => {
- //li.remove();
- listaTarefas.removeChild(li);
- })
-
-
-})
-
-
-//ESTA FUNÇAO MARCA TODOS
-
-buttonMarcarTodos.addEventListener('click', () => {
- let getTodosP = document.querySelectorAll('p');
-
- if (buttonMarcarTodos.innerText === 'Marcar todos') {
-
- getTodosP.forEach(paragrafo => paragrafo.classList.add('checked'));
- buttonMarcarTodos.innerText = 'Desmarcar todos';
- } else {
-
- getTodosP.forEach(paragrafo => paragrafo.classList = '');
- buttonMarcarTodos.innerText = 'Marcar todos';
- }
-
-})
-
-//ESTA FUNÇÃO DELETA TODOS
-
-buttonDeletarTodos.addEventListener('click', () => {
- //listaTarefas.removeChild(li);
- listaTarefas.innerText = '';
-
-
-})
\ No newline at end of file
diff --git a/jumara-pimenta/src/css/style.css b/jumara-pimenta/src/css/style.css
deleted file mode 100644
index 1ab1b9e..0000000
--- a/jumara-pimenta/src/css/style.css
+++ /dev/null
@@ -1,215 +0,0 @@
-* {
- box-sizing: border-box;
- font-family: 'Manjari', sans-serif;
- font-size: 16px;
-}
-
-body {
- margin: 0;
- background-color: #9182A6;
- box-sizing: border-box;
-}
-
-li {
- display: flex;
- max-width: 90%;
- justify-content: space-between;
- cursor: pointer;
-}
-
-button {
- cursor: pointer;
-}
-
-.flex {
- min-height: 100%;
- display: flex;
- align-items: center;
- justify-content: center;
- padding: 2rem;
- flex-direction: column;
-}
-
-.todo__container {
- background-color: white;
- text-align: center;
- margin: 100px auto 0;
- width: 100%;
- max-width: 30rem;
- padding: 0px 0px 32px 0px;
- border-radius: 14px;
- box-shadow: 0px 24px 80px rgba(0, 45, 37, 0.24);
-}
-
-.todo__title {
- text-align: center;
- margin: 40px auto 32px auto;
- display: inline-block;
- font-size: 24px;
- color: #7E77A0;
-}
-
-.todo-form {
- justify-content: center;
- display: flex;
-}
-
-.empty {
- position: relative;
- animation: shake .1s linear;
- animation-iteration-count: 3;
-}
-
-@keyframes shake {
- 0% {
- left: -5px;
- }
- 100% {
- right: -5px;
- }
-}
-
-.todo__tarefas__sample {
- max-width: 90%;
- background: #7e77a01a;
- margin: 0 auto;
- height: 60px;
- border-radius: 24px;
- align-items: center;
- padding: 20px;
- margin: 16px auto;
-}
-
-.todo__tarefas__sample-content {
- background: #8f88b325;
- max-width: 50%;
- height: 20px;
- border-radius: 14px;
-}
-
-.todo__tarefas__sample:last-child {
- opacity: 0.60;
-}
-
-.todo-form__input {
- width: 75%;
- padding: 24px;
- height: 60px;
- background-color: #E6EEC6;
- border-radius: 24px;
- border: 0px;
- outline: none;
- margin-right: 3%;
-}
-
-.todo-form__input:focus {
- outline: none;
- border: solid 3px #B0CF30;
-}
-
-.todo-form__btn {
- background-color: #7E77A0;
- text-transform: uppercase;
- color: white;
- width: 55px;
- height: 55px;
- display: inline-block;
- border-radius: 50%;
- font-size: 24px;
- cursor: pointer;
- border: 0px;
-}
-
-.todo-form__btn:hover {
- box-shadow: 0px 16px 24px rgba(126, 119, 160, 0.267);
- width: 56px;
- height: 56px;
- transition: 0.3s;
-}
-
-.todo__btn-container {
- display: flex;
- align-items: center;
- justify-content: center;
-}
-
-.todo__tudo-feito {
- border: 4px solid #B0CF30;
- box-sizing: border-box;
- border-radius: 24px;
- background-color: transparent;
- padding: 16px 20px 16px 20px;
- margin: 16px 20px 0px 20px;
- color: rgb(73, 73, 73);
-}
-
-.checked {
- text-decoration: line-through wavy #7E77A0;
-}
-
-.todo__tudo-feito:hover {
- background-color: #B0CF30;
- box-shadow: 0px 16px 24px rgba(175, 207, 48, 0.205);
- transition: 0.3s;
-}
-
-.todo__remover-todos {
- border: 4px solid #B0CF30;
- box-sizing: border-box;
- border-radius: 24px;
- background-color: #B0CF30;
- padding: 16px 20px 16px 20px;
- margin: 16px 20px 0px 20px;
- color: #494949;
-}
-
-.todo__remover-todos:hover {
- background-color: transparent;
- box-shadow: 0px 16px 24px rgba(175, 207, 48, 0.205);
- transition: 0.3s;
-}
-
-@media only screen and (max-width: 460px) {
- .todo-form {
- flex-direction: column;
- }
- .todo-form__input {
- width: 90%;
- align-self: center;
- margin: 0 auto;
- }
- .todo-form__btn {
- background-color: #7E77A0;
- text-transform: uppercase;
- color: white;
- width: 90%;
- height: 55px;
- border-radius: 24px;
- align-self: center;
- margin-top: 8px;
- }
- .todo-form__btn:hover {
- box-shadow: 0px 16px 24px rgba(126, 119, 160, 0.267);
- width: 90%;
- transition: 0.3s;
- }
- .todo__btn-container {
- flex-direction: column;
- }
- .todo__tudo-feito {
- width: 90%;
- }
- .todo__tudo-feito:hover {
- background-color: #B0CF30;
- box-shadow: 0px 16px 24px rgba(175, 207, 48, 0.205);
- transition: 0.3s;
- }
- .todo__remover-todos {
- background-color: transparent;
- width: 90%;
- margin-top: 8px;
- }
- .todo__tarefas {
- margin: 32px auto 24px auto;
- }
-}
\ No newline at end of file
diff --git a/jumara-pimenta/src/index.html b/jumara-pimenta/src/index.html
deleted file mode 100644
index e872e43..0000000
--- a/jumara-pimenta/src/index.html
+++ /dev/null
@@ -1,52 +0,0 @@
-
-
-
-
-
-
-
-
-
- ToDo List
-
-
-
-
-
-
-
Lista de Tarefas
-
-
-
-
-
-
-
- Marcar todos
- Limpar Lista
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/jumara-pimenta/src/script.js b/jumara-pimenta/src/script.js
deleted file mode 100644
index 6199b88..0000000
--- a/jumara-pimenta/src/script.js
+++ /dev/null
@@ -1,99 +0,0 @@
-// variável do input
-const inputado = document.querySelector('#todoInput');
-
-//variável da botao
-const botao = document.getElementById('todoSubmit');
-
-//variável da ul
-const listaTarefas = document.getElementById('todoLista');
-
-//variável do formulário
-const formulario = document.getElementById('todoForm');
-
-//nó do botão marcar todos
-const botaoMarcarTodos = document.getElementById('todoMarcarTodos');
-
-//nó do botão limpar
-const botaoLimpar = document.getElementById('todoRemoverTodos')
-
-// criar evento botão
-botao.addEventListener('click', (event) => {
- //previne que o formulário seja enviado ao clicar, espera processar o que precisa da função
- event.preventDefault();
-
- const elementoLista = document.createElement('li');
- const textoElemento = document.createElement('p');
- const deletaElemento = document.createElement('span');
-
- // atribuímos o valor do input ao criado a partir do clique no botão
- textoElemento.innerText = inputado.value;
- deletaElemento.innerText = '🗑';
-
- //FASE 2 o código abaixo, só deve ocorrer se o input não estiver vazio, caso esteja precisamos mostrar um alert para o usuário
- // para excluir itens da lista, precisamos criar um elemento que represente isso, e colocar evento para remover o nó do dom
-
- if(textoElemento.innerText.trim() === '') {
- alert("Insira uma tarefa");
- } else {
- //pegamos o nó mãe , e acrescentamos o elemento filho com o append
- listaTarefas.appendChild(elementoLista);
- elementoLista.appendChild(textoElemento);
- elementoLista.appendChild(deletaElemento);
-
- // pegamos o nó do formulário e utilizamos um método para limpar o input
- formulario.reset();
-
- }
-
- //função de checar
- textoElemento.addEventListener("click", () => {
- textoElemento.classList.add("checked");
- });
-
- // função de deletar
-
- deletaElemento.addEventListener('click', () => {
- listaTarefas.removeChild(elementoLista);
- });
-
- // função de marcar todos
- // pegar todos os
- // utilizar um forEach para acrescentar uma classe em cada um
-
- botaoMarcarTodos.addEventListener('click', () => {
- // o querySelectorALl retorna um array com itens de acordo o passado como parâmetro
- if(botaoMarcarTodos.innerHTML === 'Marcar todos') {
-
- const todosParagrafos = document.querySelectorAll('p');
-
- todosParagrafos.forEach(item => {
- item.classList.add("checked");
- });
-
- botaoMarcarTodos.innerHTML = 'Desmarcar todos';
-
- } else {
-
- const todosParagrafos = document.querySelectorAll('p');
-
- todosParagrafos.forEach(item => {
- item.classList.remove("checked");
- });
- botaoMarcarTodos.innerHTML = 'Marcar todos'
- }
-
- });
-
- // função de limpar
- botaoLimpar.addEventListener('click', () => {
- //listaTarefas é
- listaTarefas.innerHTML = '';
- });
-
-});
-
-
-
-
-
-
diff --git a/geovanna-domingos/src/css/style.css b/kamila-almeida/src/css/style.css
similarity index 99%
rename from geovanna-domingos/src/css/style.css
rename to kamila-almeida/src/css/style.css
index 7862cc8..6de68ed 100644
--- a/geovanna-domingos/src/css/style.css
+++ b/kamila-almeida/src/css/style.css
@@ -6,7 +6,7 @@
body {
margin: 0;
- background-color: #9182A6;
+ background-color: #ca9d09;
box-sizing: border-box;
}
diff --git a/geovanna-domingos/src/index.html b/kamila-almeida/src/index.html
similarity index 98%
rename from geovanna-domingos/src/index.html
rename to kamila-almeida/src/index.html
index bde8cbe..8fde195 100644
--- a/geovanna-domingos/src/index.html
+++ b/kamila-almeida/src/index.html
@@ -7,7 +7,7 @@
- ToDo List
+ To Do List
diff --git a/geovanna-domingos/src/script.js b/kamila-almeida/src/script.js
similarity index 99%
rename from geovanna-domingos/src/script.js
rename to kamila-almeida/src/script.js
index 2765cb7..e55a88c 100644
--- a/geovanna-domingos/src/script.js
+++ b/kamila-almeida/src/script.js
@@ -1,7 +1,7 @@
// nó do input
const inputado = document.querySelector('#todoInput');
-//nó da botao
+//nó do botao
const botao = document.getElementById('todoSubmit');
//nó da ul
diff --git a/lais-pereira/src/css/style.css b/lais-pereira/src/css/style.css
deleted file mode 100644
index 7c38fb3..0000000
--- a/lais-pereira/src/css/style.css
+++ /dev/null
@@ -1,215 +0,0 @@
-* {
- box-sizing: border-box;
- font-family: "Manjari", sans-serif;
- font-size: 16px;
-}
-
-body {
- margin: 0;
- background-color: #9182a6;
- box-sizing: border-box;
-}
-
-li {
- display: flex;
- max-width: 90%;
- justify-content: space-between;
- cursor: pointer;
-}
-
-button {
- cursor: pointer;
-}
-
-.flex {
- min-height: 100%;
- display: flex;
- align-items: center;
- justify-content: center;
- padding: 2rem;
- flex-direction: column;
-}
-
-.todo__container {
- background-color: white;
- text-align: center;
- margin: 100px auto 0;
- width: 100%;
- max-width: 30rem;
- padding: 0px 0px 32px 0px;
- border-radius: 14px;
- box-shadow: 0px 24px 80px rgba(0, 45, 37, 0.24);
-}
-
-.todo__title {
- text-align: center;
- margin: 40px auto 32px auto;
- display: inline-block;
- font-size: 24px;
- color: #7e77a0;
-}
-
-.todo-form {
- justify-content: center;
- display: flex;
-}
-
-.empty {
- position: relative;
- animation: shake 0.1s linear;
- animation-iteration-count: 3;
-}
-
-@keyframes shake {
- 0% {
- left: -5px;
- }
- 100% {
- right: -5px;
- }
-}
-
-.todo__tarefas__sample {
- max-width: 90%;
- background: #7e77a01a;
- margin: 0 auto;
- height: 60px;
- border-radius: 24px;
- align-items: center;
- padding: 20px;
- margin: 16px auto;
-}
-
-.todo__tarefas__sample-content {
- background: #8f88b325;
- max-width: 50%;
- height: 20px;
- border-radius: 14px;
-}
-
-.todo__tarefas__sample:last-child {
- opacity: 0.6;
-}
-
-.todo-form__input {
- width: 75%;
- padding: 24px;
- height: 60px;
- background-color: #e6eec6;
- border-radius: 24px;
- border: 0px;
- outline: none;
- margin-right: 3%;
-}
-
-.todo-form__input:focus {
- outline: none;
- border: solid 3px #b0cf30;
-}
-
-.todo-form__btn {
- background-color: #7e77a0;
- text-transform: uppercase;
- color: white;
- width: 55px;
- height: 55px;
- display: inline-block;
- border-radius: 50%;
- font-size: 24px;
- cursor: pointer;
- border: 0px;
-}
-
-.todo-form__btn:hover {
- box-shadow: 0px 16px 24px rgba(126, 119, 160, 0.267);
- width: 56px;
- height: 56px;
- transition: 0.3s;
-}
-
-.todo__btn-container {
- display: flex;
- align-items: center;
- justify-content: center;
-}
-
-.todo__tudo-feito {
- border: 4px solid #b0cf30;
- box-sizing: border-box;
- border-radius: 24px;
- background-color: transparent;
- padding: 16px 20px 16px 20px;
- margin: 16px 20px 0px 20px;
- color: rgb(73, 73, 73);
-}
-
-.checked {
- text-decoration: line-through wavy #7e77a0;
-}
-
-.todo__tudo-feito:hover {
- background-color: #b0cf30;
- box-shadow: 0px 16px 24px rgba(175, 207, 48, 0.205);
- transition: 0.3s;
-}
-
-.todo__remover-todos {
- border: 4px solid #b0cf30;
- box-sizing: border-box;
- border-radius: 24px;
- background-color: #b0cf30;
- padding: 16px 20px 16px 20px;
- margin: 16px 20px 0px 20px;
- color: #494949;
-}
-
-.todo__remover-todos:hover {
- background-color: transparent;
- box-shadow: 0px 16px 24px rgba(175, 207, 48, 0.205);
- transition: 0.3s;
-}
-
-@media only screen and (max-width: 460px) {
- .todo-form {
- flex-direction: column;
- }
- .todo-form__input {
- width: 90%;
- align-self: center;
- margin: 0 auto;
- }
- .todo-form__btn {
- background-color: #7e77a0;
- text-transform: uppercase;
- color: white;
- width: 90%;
- height: 55px;
- border-radius: 24px;
- align-self: center;
- margin-top: 8px;
- }
- .todo-form__btn:hover {
- box-shadow: 0px 16px 24px rgba(126, 119, 160, 0.267);
- width: 90%;
- transition: 0.3s;
- }
- .todo__btn-container {
- flex-direction: column;
- }
- .todo__tudo-feito {
- width: 90%;
- }
- .todo__tudo-feito:hover {
- background-color: #b0cf30;
- box-shadow: 0px 16px 24px rgba(175, 207, 48, 0.205);
- transition: 0.3s;
- }
- .todo__remover-todos {
- background-color: transparent;
- width: 90%;
- margin-top: 8px;
- }
- .todo__tarefas {
- margin: 32px auto 24px auto;
- }
-}
diff --git a/lais-pereira/src/index.html b/lais-pereira/src/index.html
deleted file mode 100644
index 3d5d24e..0000000
--- a/lais-pereira/src/index.html
+++ /dev/null
@@ -1,50 +0,0 @@
-
-
-
-
-
-
-
-
-
- ToDo List
-
-
-
-
-
-
-
Lista de Tarefas
-
-
-
-
-
-
-
- Marcar todos
- Limpar Lista
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/lais-pereira/src/script.js b/lais-pereira/src/script.js
deleted file mode 100644
index 2d1148d..0000000
--- a/lais-pereira/src/script.js
+++ /dev/null
@@ -1,89 +0,0 @@
-// selecionando para depois manipular
-// variável do input
-const inputado = document.querySelector('#todoInput');
-//variável do botão
-const botao = document.querySelector('#todoSubmit');
-//variável da lista
-const listaTarefas = document.querySelector('#todoLista');
-// variável do formulário
-const formulario = document.getElementById('todoForm');
-// variável que vai limpar todods
-const botaoLimpar = document.getElementById('todoRemoverTodos');
-// variável que vai marcar todas
-const botaoMarcarTodas = document.querySelector('#todoMarcarTodos');
-
-console.log(botao);
-// criando evento botão
-botao.addEventListener('click' , (event) => {
- // previnindo que o formulário seja enviado ao clicar
- event.preventDefault();
-
- const elementoLista = document.createElement('li');
- const textoElemento = document.createElement('p');
- const deletaElemento = document.createElement('span')
-
-// atrubuíndo o valor do input ao criado a partir do clique no botão
-textoElemento.innerText = inputado.value;
-deletaElemento.innerText = '❌';
-
-if(textoElemento.innerText.trim() === '') {
- alert("Insira uma tarefa");
-} else {
-
-//pegando o nó mãe e acrescentando o elemento filho com o append
-listaTarefas.appendChild(elementoLista);
-elementoLista.appendChild(textoElemento);
-elementoLista.appendChild(deletaElemento);
-
-
-formulario.reset();
-
-}
-
-// função de checar
-textoElemento.addEventListener('click', () => {
-textoElemento.classList.add('checked');
-});
-
-//função de deletar
-deletaElemento.addEventListener('click', () => {
- listaTarefas.removeChild(elementoLista);
- //outra forma de resolver
- //elementoList.remove();
-});
-
-//todo função de marcar todas
-botaoMarcarTodas.addEventListener("click", () => {
- //o querySelectorAll retorna uma array com itens de acordo com parameto passado
-
- if (botaoMarcarTodas.innerText === "Marcar todos") {
-
- let todosParagrafos = document.querySelectorAll("p");
-
- console.log(todosParagrafos, "vai retornar todos os
encontrados");
- //pegar Todos os
- //utiliza um foreach para acrescentar uma classe em casa um
-
- todosParagrafos.forEach(item => {
- item.classList.add("checked");
- });
-
- botaoMarcarTodas.innerText = "Desmarcar todos";
- } else {
- //const todosParagrafos = document.querySelectorAll("p");
- todosParagrafos.forEach(item => {
- item.classList.remove("checked");
-
- });
-
- botaoMarcarTodas.innerText = "Marcar todos";
- }
-});
-
-//todo função de limpar
-botaoLimpar.addEventListener('click', () =>{
- listaTarefas.innerHTML = '';
-});
-
-});
-
diff --git a/liliankelly-andrade/src/css/style.css b/liliankelly-andrade/src/css/style.css
deleted file mode 100644
index fcd6b72..0000000
--- a/liliankelly-andrade/src/css/style.css
+++ /dev/null
@@ -1,216 +0,0 @@
-* {
- box-sizing: border-box;
- font-family: 'Manjari', sans-serif;
- font-size: 16px;
-}
-
-body {
- margin: 0;
- background-color: #9182A6;
- box-sizing: border-box;
-}
-
-li {
- display: flex;
- max-width: 90%;
- justify-content: space-between;
- cursor: pointer;
-}
-
-button {
- cursor: pointer;
-}
-
-.flex {
- min-height: 100%;
- display: flex;
- align-items: center;
- justify-content: center;
- padding: 2rem;
- flex-direction: column;
-}
-
-.todo__container {
- background-color: white;
- text-align: center;
- margin: 100px auto 0;
- width: 100%;
- max-width: 30rem;
- padding: 0px 0px 32px 0px;
- border-radius: 14px;
- box-shadow: 0px 24px 80px rgba(0, 45, 37, 0.24);
-}
-
-.todo__title {
- text-align: center;
- margin: 40px auto 32px auto;
- display: inline-block;
- font-size: 24px;
- color: #7E77A0;
-}
-
-.todo-form {
- justify-content: center;
- display: flex;
-}
-
-.empty {
- position: relative;
- animation: shake .1s linear;
- animation-iteration-count: 3;
-}
-
-@keyframes shake {
- 0% {
- left: -5px;
- }
- 100% {
- right: -5px;
- }
-}
-
-.todo__tarefas__sample {
- max-width: 90%;
- background: #7e77a01a;
- margin: 0 auto;
- height: 60px;
- border-radius: 24px;
- align-items: center;
- padding: 20px;
- margin: 16px auto;
-}
-
-.todo__tarefas__sample-content {
- background: #8f88b325;
- max-width: 50%;
- height: 20px;
- border-radius: 14px;
-}
-
-.todo__tarefas__sample:last-child {
- opacity: 0.60;
-}
-
-.todo-form__input {
- width: 75%;
- padding: 24px;
- height: 60px;
- background-color: #E6EEC6;
- border-radius: 24px;
- border: 0px;
- outline: none;
- margin-right: 3%;
-}
-
-.todo-form__input:focus {
- outline: none;
- border: solid 3px #B0CF30;
-}
-
-.todo-form__btn {
- background-color: #7E77A0;
- text-transform: uppercase;
- color: white;
- width: 55px;
- height: 55px;
- display: inline-block;
- border-radius: 50%;
- font-size: 24px;
- cursor: pointer;
- border: 0px;
-}
-
-.todo-form__btn:hover {
- box-shadow: 0px 16px 24px rgba(126, 119, 160, 0.267);
- width: 56px;
- height: 56px;
- transition: 0.3s;
-}
-
-.todo__btn-container {
- display: flex;
- align-items: center;
- justify-content: center;
-}
-
-.todo__tudo-feito {
- border: 4px solid #B0CF30;
- box-sizing: border-box;
- border-radius: 24px;
- background-color: transparent;
- padding: 16px 20px 16px 20px;
- margin: 16px 20px 0px 20px;
- color: rgb(73, 73, 73);
-}
-
-.checked {
- background-color: yellowgreen;
- text-decoration: line-through wavy #7E77A0;
-}
-
-.todo__tudo-feito:hover {
- background-color: #B0CF30;
- box-shadow: 0px 16px 24px rgba(175, 207, 48, 0.205);
- transition: 0.3s;
-}
-
-.todo__remover-todos {
- border: 4px solid #B0CF30;
- box-sizing: border-box;
- border-radius: 24px;
- background-color: #B0CF30;
- padding: 16px 20px 16px 20px;
- margin: 16px 20px 0px 20px;
- color: #494949;
-}
-
-.todo__remover-todos:hover {
- background-color: transparent;
- box-shadow: 0px 16px 24px rgba(175, 207, 48, 0.205);
- transition: 0.3s;
-}
-
-@media only screen and (max-width: 460px) {
- .todo-form {
- flex-direction: column;
- }
- .todo-form__input {
- width: 90%;
- align-self: center;
- margin: 0 auto;
- }
- .todo-form__btn {
- background-color: #7E77A0;
- text-transform: uppercase;
- color: white;
- width: 90%;
- height: 55px;
- border-radius: 24px;
- align-self: center;
- margin-top: 8px;
- }
- .todo-form__btn:hover {
- box-shadow: 0px 16px 24px rgba(126, 119, 160, 0.267);
- width: 90%;
- transition: 0.3s;
- }
- .todo__btn-container {
- flex-direction: column;
- }
- .todo__tudo-feito {
- width: 90%;
- }
- .todo__tudo-feito:hover {
- background-color: #B0CF30;
- box-shadow: 0px 16px 24px rgba(175, 207, 48, 0.205);
- transition: 0.3s;
- }
- .todo__remover-todos {
- background-color: transparent;
- width: 90%;
- margin-top: 8px;
- }
- .todo__tarefas {
- margin: 32px auto 24px auto;
- }
-}
\ No newline at end of file
diff --git a/liliankelly-andrade/src/exercicio.js b/liliankelly-andrade/src/exercicio.js
deleted file mode 100644
index 81efc96..0000000
--- a/liliankelly-andrade/src/exercicio.js
+++ /dev/null
@@ -1,92 +0,0 @@
-
-
-const inputado = document.querySelector('#todoInput');
-const botao = document.getElementById('todoSubmit');
-const listaTarefas = document.getElementById('todoLista');
-const formulario = document.getElementById('todoForm');
-const botaoLimpar = document.getElementById('todoRemoverTodos');
-const botaoMarcarTodas = document.querySelector('#todoMarcarTodos');
-
-
-//evento botão
-
-botao.addEventListener('click', (event) => {
- event.preventDefault();
-
- const elementoLista = document.createElement('li');
- const textoElemento = document.createElement('p');
- const deletaElemento = document.createElement('span');
-
-
- textoElemento.innerText = inputado.value;
- deletaElemento.innerText = '🗑';
-
-
-/////////////////////////////////////////////////////
-
-
-if (textoElemento.innerText.trim() == "") {
- alert("Insira uma tarefa");
-}else {
- listaTarefas.appendChild(elementoLista);
- elementoLista.appendChild(textoElemento);
- elementoLista.appendChild(deletaElemento);
-
- formulario.reset();
-}
- textoElemento.addEventListener('click', () => {
- textoElemento.classList.add('checked');
- });
-
-
- deletaElemento.addEventListener("click", () => {
- listaTarefas.removeChild(elementoLista);
- });
-
-
-
-
- botaoMarcarTodas.addEventListener('click', () => {
- // o querySelectorALl retorna um array com itens de acordo o passado como parâmetro
-
-
- if (botaoMarcarTodas.innerText === 'Marcar todos') {
- const todosParagrafos = document.querySelectorAll('p');
- console.log(todosParagrafos, "vai retornar todos os
encontrados");
-
- todosParagrafos.forEach(item => {
- item.classList.add("checked");
- });
- botaoMarcarTodas.innerText = 'Desmarcar todos';
- } else {
- const todosParagrafos = document.querySelectorAll('p');
- todosParagrafos.forEach(item => {
- item.classList.remove("checked");
- });
- botaoMarcarTodas.innerText = 'Marcar todos';
- }
-
- });
- botaoLimpar.addEventListener('click', () => {
- //listaTarefas é
- listaTarefas.innerHTML = '';
- });
-});
-
-
-
-
-
-
-
-
-
-
-
-
-
-//
-//
-// sua tarefa
-//
-//
\ No newline at end of file
diff --git a/liliankelly-andrade/src/index.html b/liliankelly-andrade/src/index.html
deleted file mode 100644
index 2600d31..0000000
--- a/liliankelly-andrade/src/index.html
+++ /dev/null
@@ -1,53 +0,0 @@
-
-
-
-
-
-
-
-
-
- ToDo List
-
-
-
-
-
-
-
Lista de Tarefas
-
-
-
-
-
-
-
-
-
- Marcar todos
- Limpar Lista
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/liliankelly-andrade/src/script.js b/liliankelly-andrade/src/script.js
deleted file mode 100644
index 865b6be..0000000
--- a/liliankelly-andrade/src/script.js
+++ /dev/null
@@ -1,98 +0,0 @@
-
-// nó do input
-const inputado = document.querySelector('#todoInput');
-
-//nó da botao
-const botao = document.getElementById('todoSubmit');
-
-//nó da ul
-const listaTarefas = document.getElementById('todoLista');
-
-//nó do formulário
-const formulario = document.getElementById('todoForm');
-
-//nó do botão limpar
-const botaoLimpar = document.getElementById('todoRemoverTodos');
-
-// nó do botão marcar todos
-const botaoMarcarTodas = document.querySelector('#todoMarcarTodos');
-
-// criar evento botão
-botao.addEventListener('click', (event) => {
- //previne que o formulário seja enviado ao clicar, espera processar o que precisa da função
- event.preventDefault();
-
- const elementoLista = document.createElement('li');
- const textoElemento = document.createElement('p');
- const deletaElemento = document.createElement('span');
-
- // atribuímos o valor do input ao criado a partir do clique no botão
- textoElemento.innerText = inputado.value;
- deletaElemento.innerText = '🧨';
- // para excluir itens da lista, precisamos criar um elemento que represente isso, e colocar evento para remover o nó do dom
-
- if (textoElemento.innerText.trim() === '') {
- alert("Insira uma tarefa");
- } else {
- //pegamos o nó mãe , e acrescentamos o elemento filho com o append
- listaTarefas.appendChild(elementoLista);
- elementoLista.appendChild(textoElemento);
- elementoLista.appendChild(deletaElemento);
-
- // pegamos o nó do formulário e utilizamos um método para limpar o input
- formulario.reset();
-
- }
-
- //função de checar
- textoElemento.addEventListener("click", () => {
- textoElemento.classList.add("checked");
- });
-
- //função de deletar
- deletaElemento.addEventListener("click", () => {
- listaTarefas.removeChild(elementoLista);
- // outra de forma de resolver >>> elementoLista.remove();
- });
-
- //? FASE 4 ATÉ 21H
-
- // //TODO função de marcar todos
- botaoMarcarTodas.addEventListener('click', () => {
- // o querySelectorALl retorna um array com itens de acordo o passado como parâmetro
-
-
- if (botaoMarcarTodas.innerText === 'Marcar todos') {
- const todosParagrafos = document.querySelectorAll('p');
- console.log(todosParagrafos, "vai retornar todos os
encontrados");
-
- todosParagrafos.forEach(item => {
- item.classList.add("checked");
- });
- botaoMarcarTodas.innerText = 'Desmarcar todos';
- } else {
- const todosParagrafos = document.querySelectorAll('p');
- todosParagrafos.forEach(item => {
- item.classList.remove("checked");
- });
- botaoMarcarTodas.innerText = 'Marcar todos';
- }
-
- });
-
- //TODO função de limpar
- botaoLimpar.addEventListener('click', () => {
- //listaTarefas é
- listaTarefas.innerHTML = '';
- });
-
-});
-
-
-// exemplo estrutura HTML
-{/* ;; */}
-
diff --git a/mariana_herreros/src/css/img/bin.png b/mariana_herreros/src/css/img/bin.png
deleted file mode 100644
index a478069..0000000
Binary files a/mariana_herreros/src/css/img/bin.png and /dev/null differ
diff --git a/mariana_herreros/src/css/img/check-list.png b/mariana_herreros/src/css/img/check-list.png
deleted file mode 100644
index d72acee..0000000
Binary files a/mariana_herreros/src/css/img/check-list.png and /dev/null differ
diff --git a/mariana_herreros/src/css/style.css b/mariana_herreros/src/css/style.css
deleted file mode 100644
index db64496..0000000
--- a/mariana_herreros/src/css/style.css
+++ /dev/null
@@ -1,219 +0,0 @@
-* {
- box-sizing: border-box;
- font-family: 'Manjari', sans-serif;
- font-size: 16px;
-}
-
-body {
- margin: 0;
- background-color: #aaddec;
- box-sizing: border-box;
-}
-
-li {
- display: flex;
- max-width: 90%;
- justify-content: space-between;
- cursor: pointer;
-}
-
-button {
- cursor: pointer;
-}
-
-
-.flex {
- min-height: 100%;
- display: flex;
- align-items: center;
- justify-content: center;
- padding: 2rem;
- flex-direction: column;
-}
-
-.todo__container {
- background-color: rgb(255, 253, 255);
- text-align: center;
- margin: 100px auto 0;
- width: 100%;
- max-width: 30rem;
- padding: 0px 0px 32px 0px;
- border-radius: 14px;
- box-shadow: 0px 24px 80px rgba(5, 25, 70, 0.24);
-}
-
-.check_icon{
- margin-right: 0.9rem;
-}
-.todo__title {
- text-align: center;
- margin: 40px auto 32px auto;
- display: inline-block;
- font-size: 24px;
- color: #7E77A0;
-}
-
-.todo-form {
- justify-content: center;
- display: flex;
-}
-
-.empty {
- position: relative;
- animation: shake .1s linear;
- animation-iteration-count: 3;
-}
-
-@keyframes shake {
- 0% {
- left: -5px;
- }
- 100% {
- right: -5px;
- }
-}
-
-.todo__tarefas__sample {
- max-width: 90%;
- background: #7e77a01a;
- margin: 0 auto;
- height: 60px;
- border-radius: 24px;
- align-items: center;
- padding: 20px;
- margin: 16px auto;
-}
-
-.todo__tarefas__sample-content {
- background: #8f88b325;
- max-width: 50%;
- height: 20px;
- border-radius: 14px;
-}
-
-.todo__tarefas__sample:last-child {
- opacity: 0.60;
-}
-
-.todo-form__input {
- width: 75%;
- padding: 24px;
- height: 60px;
- background-color: #E6EEC6;
- border-radius: 24px;
- border: 0px;
- outline: none;
- margin-right: 3%;
-}
-
-.todo-form__input:focus {
- outline: none;
- border: solid 3px #1d47d3;
-}
-
-.todo-form__btn {
- background-color: #154dc4;
- text-transform: uppercase;
- color: white;
- width: 55px;
- height: 55px;
- display: inline-block;
- border-radius: 50%;
- font-size: 24px;
- cursor: pointer;
- border: 0px;
-}
-
-.todo-form__btn:hover {
- box-shadow: 0px 16px 24px rgba(126, 119, 160, 0.267);
- width: 56px;
- height: 56px;
- transition: 0.3s;
-}
-
-.todo__btn-container {
- display: flex;
- align-items: center;
- justify-content: center;
-}
-
-.todo__tudo-feito {
- border: 4px solid #bfdbeb;
- box-sizing: border-box;
- border-radius: 24px;
- background-color: transparent;
- padding: 16px 20px 16px 20px;
- margin: 16px 20px 0px 20px;
- color: rgb(73, 73, 73);
-}
-
-.checked {
- text-decoration: line-through wavy #7E77A0;
-}
-
-.todo__tudo-feito:hover {
- background-color: #bfdbeb;
- box-shadow: 0px 16px 24px rgba(175, 207, 48, 0.205);
- transition: 0.3s;
-}
-
-.todo__remover-todos {
- border: 4px solid#bfdbeb;
- box-sizing: border-box;
- border-radius: 24px;
- background-color: #bfdbeb;
- padding: 16px 20px 16px 20px;
- margin: 16px 20px 0px 20px;
- color: #494949;
-}
-
-.todo__remover-todos:hover {
- background-color: transparent;
- box-shadow: 0px 16px 24px rgba(175, 207, 48, 0.205);
- transition: 0.3s;
-}
-
-@media only screen and (max-width: 460px) {
- .todo-form {
- flex-direction: column;
- }
- .todo-form__input {
- width: 90%;
- align-self: center;
- margin: 0 auto;
- }
- .todo-form__btn {
- background-color: #7E77A0;
- text-transform: uppercase;
- color: white;
- width: 90%;
- height: 55px;
- border-radius: 24px;
- align-self: center;
- margin-top: 8px;
- }
- .todo-form__btn:hover {
- box-shadow: 0px 16px 24px rgba(126, 119, 160, 0.267);
- width: 90%;
- transition: 0.3s;
- }
- .todo__btn-container {
- flex-direction: column;
- }
- .todo__tudo-feito {
- width: 90%;
- }
- .todo__tudo-feito:hover {
- background-color: #B0CF30;
- box-shadow: 0px 16px 24px rgba(175, 207, 48, 0.205);
- transition: 0.3s;
- }
- .todo__remover-todos {
- background-color: transparent;
- width: 90%;
- margin-top: 8px;
- }
- .todo__tarefas {
- margin: 32px auto 24px auto;
- }
-}
\ No newline at end of file
diff --git a/mariana_herreros/src/index.html b/mariana_herreros/src/index.html
deleted file mode 100644
index 7953fe1..0000000
--- a/mariana_herreros/src/index.html
+++ /dev/null
@@ -1,60 +0,0 @@
-
-
-
-
-
-
-
-
-
- ToDo List
-
-
-
-
-
-
-
-
Lista de Tarefas
-
-
-
-
-
-
-
- Marcar todos
- Limpar Lista
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/mariana_herreros/src/script.js b/mariana_herreros/src/script.js
deleted file mode 100644
index bcfd44d..0000000
--- a/mariana_herreros/src/script.js
+++ /dev/null
@@ -1,139 +0,0 @@
-//variavel do input
-//variável do botão de adicionar
-//variável da ul
-
-
-//nó do input
-const inputado = document.querySelector('#todoInput');
-
-//nó do botão
-const botao = document.getElementById('todoSubmit');
-
-//nó da ul
-const listaTarefas = document.getElementById('todoLista');
-
-//nó do botão marcar todos
-const botaoMarcarTodas = document.querySelector('#todoMarcarTodos');
-
-//nó do botão limpar
-const botaoLimpar = document.querySelector('#todoRemoverTodos');
-
-//variável do formulário
-const formulario = document.getElementById('todoForm');
-
-
-console.log(inputado, "inputado");
-//console.log(botao, "botao");
-//console.log(listaTarefas, "lista");
-
-
-//criar evento botão
-
-botao.addEventListener('click', (event) => {
-
- //previne que o formulário seja enviado ao clicar, espera processar o que precisa da função
- event.preventDefault();
-
- const elementoLista = document.createElement('li');
-
- const textoElemento = document.createElement('p');
-
- const deletaElemento = document.createElement('span');
-
-
-
-
- //atribuimos o valor do input ao criado a partir do clique no botão
-
- textoElemento.innerText = inputado.value;
- deletaElemento.innerText = '✔';
-// para excluir itens da lista, precisamos criar um elemento que represente isso, e colocar o evento para remover o nó do dom
-
- if (textoElemento.innerText.trim() === '') {
- alert("Insira uma tarefa");
- } else {
-
-
-
-
- //Quando o input está vazio ou com espaços, mostra uma mensagem de erro através de um alert
-
-
- //pegamos o nó mãe, e acrescentamos o elemento filho com o append
- listaTarefas.appendChild(elementoLista);
- elementoLista.appendChild(textoElemento);
- elementoLista.appendChild(deletaElemento);
-
-
- //pegamos o nó do formulário e utilizamos um método para limpar o input
- formulario.reset();
-}
-
- //função checar
- textoElemento.addEventListener('click', () => {
-
- textoElemento.classList.add('checked');
-
- });
-
- //função deletar
-
- deletaElemento.addEventListener('click', () => {
-
- //Várias forma de resolver
-
- //elementoLista.removeChild(deletaElemento);
- //elementoLista.removeChild(textoElemento);
-
- //elementoLista.remove();
-
- listaTarefas.removeChild(elementoLista);
-
- });
-
- //FASE 4 - Ao clicar em marcar todos, mudar texto do botão para desmarcar todos
-
-
- //TODO função de marcar todos
- botaoMarcarTodas.addEventListener('click', () => {
- // o querySelectorALl retorna um array com itens de acordo o passado como parâmetro
- let todosParagrafos = document.querySelectorAll('p');
-
- if (botaoMarcarTodas.innerText === 'Marcar todos') {
-
-
-
- console.log(todosParagrafos, "vai retornar todos os
encontrados");
-
- todosParagrafos.forEach(item => {
- item.classList.add("checked");
- });
- botaoMarcarTodas.innerText = 'Desmarcar todos';
- } else {
-
-
- todosParagrafos.forEach(item => {
- item.classList.remove("checked");
- });
- botaoMarcarTodas.innerText = 'Marcar todos';
- }
- });
-
-
-
- //função de limpar lista
-
- //botaoLimpar.addEventListener(('click')
- // , () => {
- // alert("clicou botão em limpar");
- //});
-
- botaoLimpar.addEventListener('click', () => {
- //listaTarefas é
- listaTarefas.innerHTML = "";
- });
-
-
- //Desafio extra: Quando o input está vazio ou com espaços, mostra uma mensagem de erro abaixo do input ao invés de um alert?
-
-});
\ No newline at end of file
diff --git a/patricia-barnabe/img/to-do-list.png b/patricia-barnabe/img/to-do-list.png
deleted file mode 100644
index 54ac6fe..0000000
Binary files a/patricia-barnabe/img/to-do-list.png and /dev/null differ
diff --git a/patricia-barnabe/src/css/style.css b/patricia-barnabe/src/css/style.css
deleted file mode 100644
index e304032..0000000
--- a/patricia-barnabe/src/css/style.css
+++ /dev/null
@@ -1,216 +0,0 @@
-* {
- box-sizing: border-box;
- font-family: 'Manjari', sans-serif;
- font-size: 16px;
-}
-
-body {
- margin: 0;
- background-color: #9182A6;
- box-sizing: border-box;
-}
-
-li {
- display: flex;
- max-width: 90%;
- justify-content: space-between;
- cursor: pointer;
- align-items: center;
-}
-
-button {
- cursor: pointer;
-}
-
-.flex {
- min-height: 100%;
- display: flex;
- align-items: center;
- justify-content: center;
- padding: 2rem;
- flex-direction: column;
-}
-
-.todo__container {
- background-color: white;
- text-align: center;
- margin: 100px auto 0;
- width: 100%;
- max-width: 30rem;
- padding: 0px 0px 32px 0px;
- border-radius: 14px;
- box-shadow: 0px 24px 80px rgba(0, 45, 37, 0.24);
-}
-
-.todo__title {
- text-align: center;
- margin: 40px auto 32px auto;
- display: inline-block;
- font-size: 24px;
- color: #7E77A0;
-}
-
-.todo-form {
- justify-content: center;
- display: flex;
-}
-
-.empty {
- position: relative;
- animation: shake .1s linear;
- animation-iteration-count: 3;
-}
-
-@keyframes shake {
- 0% {
- left: -5px;
- }
- 100% {
- right: -5px;
- }
-}
-
-.todo__tarefas__sample {
- max-width: 90%;
- background: #7e77a01a;
- margin: 0 auto;
- height: 60px;
- border-radius: 24px;
- align-items: center;
- padding: 20px;
- margin: 16px auto;
-}
-
-.todo__tarefas__sample-content {
- background: #8f88b325;
- max-width: 50%;
- height: 20px;
- border-radius: 14px;
-}
-
-.todo__tarefas__sample:last-child {
- opacity: 0.60;
-}
-
-.todo-form__input {
- width: 75%;
- padding: 24px;
- height: 60px;
- background-color: #E6EEC6;
- border-radius: 24px;
- border: 0px;
- outline: none;
- margin-right: 3%;
-}
-
-.todo-form__input:focus {
- outline: none;
- border: solid 3px #B0CF30;
-}
-
-.todo-form__btn {
- background-color: #7E77A0;
- text-transform: uppercase;
- color: white;
- width: 55px;
- height: 55px;
- display: inline-block;
- border-radius: 50%;
- font-size: 24px;
- cursor: pointer;
- border: 0px;
-}
-
-.todo-form__btn:hover {
- box-shadow: 0px 16px 24px rgba(126, 119, 160, 0.267);
- width: 56px;
- height: 56px;
- transition: 0.3s;
-}
-
-.todo__btn-container {
- display: flex;
- align-items: center;
- justify-content: center;
-}
-
-.todo__tudo-feito {
- border: 4px solid #B0CF30;
- box-sizing: border-box;
- border-radius: 24px;
- background-color: transparent;
- padding: 16px 20px 16px 20px;
- margin: 16px 20px 0px 20px;
- color: rgb(73, 73, 73);
-}
-
-.checked {
- text-decoration: line-through wavy #7E77A0;
-}
-
-.todo__tudo-feito:hover {
- background-color: #B0CF30;
- box-shadow: 0px 16px 24px rgba(175, 207, 48, 0.205);
- transition: 0.3s;
-}
-
-.todo__remover-todos {
- border: 4px solid #f15945;
- box-sizing: border-box;
- border-radius: 24px;
- background-color: #f15945;
- padding: 16px 20px 16px 20px;
- margin: 16px 20px 0px 20px;
- color: #494949;
-}
-
-.todo__remover-todos:hover {
- background-color: transparent;
- box-shadow: 0px 16px 24px rgba(175, 207, 48, 0.205);
- transition: 0.3s;
-}
-
-@media only screen and (max-width: 460px) {
- .todo-form {
- flex-direction: column;
- }
- .todo-form__input {
- width: 90%;
- align-self: center;
- margin: 0 auto;
- }
- .todo-form__btn {
- background-color: #7E77A0;
- text-transform: uppercase;
- color: white;
- width: 90%;
- height: 55px;
- border-radius: 24px;
- align-self: center;
- margin-top: 8px;
- }
- .todo-form__btn:hover {
- box-shadow: 0px 16px 24px rgba(126, 119, 160, 0.267);
- width: 90%;
- transition: 0.3s;
- }
- .todo__btn-container {
- flex-direction: column;
- }
- .todo__tudo-feito {
- width: 90%;
- }
- .todo__tudo-feito:hover {
- background-color: #B0CF30;
- box-shadow: 0px 16px 24px rgba(175, 207, 48, 0.205);
- transition: 0.3s;
- }
- .todo__remover-todos {
- background-color: transparent;
- width: 90%;
- margin-top: 8px;
- }
- .todo__tarefas {
- margin: 32px auto 24px auto;
- }
-}
\ No newline at end of file
diff --git a/patricia-barnabe/src/index.html b/patricia-barnabe/src/index.html
deleted file mode 100644
index 1275b1e..0000000
--- a/patricia-barnabe/src/index.html
+++ /dev/null
@@ -1,50 +0,0 @@
-
-
-
-
-
-
-
-
-
-
- ToDo List
-
-
-
-
-
-
-
Lista de Tarefas 📝
-
-
-
-
-
-
- Marcar Todos
- Limpar Lista
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/patricia-barnabe/src/script.js b/patricia-barnabe/src/script.js
deleted file mode 100644
index 961950f..0000000
--- a/patricia-barnabe/src/script.js
+++ /dev/null
@@ -1,98 +0,0 @@
-//nó do input
-const inputado = document.querySelector('#todoInput');
-
-//nó do botão
-const botao = document.getElementById('todoSubmit');
-
-//nó da ul
-const listaTarefas = document.getElementById('todoLista');
-
-//nó do formulario
-const formulario = document.getElementById('todoForm');
-
-//nó do botão limpar
-const botaoLimpar = document.getElementById('todoRemoverTodos');
-
-//nó do botão marcar todos
-const botaoMarcarTodos = document.querySelector('#todoMarcarTodos');
-
-//nó dos samples
-const samples = document.querySelector('.sample');
-
-//criar evento botão
-botao.addEventListener('click', (event) => {
- //previne que o formulário seja enviado ao clicar, espera processar o que precisa da função
- event.preventDefault();
-
- //criando variáveis para receber os valores dos elementos criados
- const elementoLista = document.createElement('li');
- const textoElemento = document.createElement('p');
- const deletaElemento = document.createElement('span');
-
- //atribuimos o valor do input ao criando a partir do clique no botão
- textoElemento.innerText = inputado.value;
- deletaElemento.innerText = '❌';
-
- /*FASE 02
- 1º: o código abaixo só deve ocorrer se o input não estiver vazio, caso esteja vazio, precisamos mostrar o alert para o usiário
- 2º: para excluir itens da lista, precisamos criar um elemento que represente isso, e colocar evento para remover o nó do dom*/
- if(textoElemento.innerText.trim() === '') {
- alert("Insira uma tarefa");
- } else {
- //pegamos o nó mãe e acrescentamos o elemento filho com o append
- listaTarefas.appendChild(elementoLista);
- elementoLista.appendChild(textoElemento);
- elementoLista.appendChild(deletaElemento);
-
- //pegamos o nó do formulário e utilizamos um método para limpar o input
- formulario.reset();
- //FASE BÔNUS: pegamos o nó do sample e utilizamos um método para remover as divs do sample quando algo for inserido na lista
- samples.remove();
- }
-
- //função de checar
- textoElemento.addEventListener('click', () => {
- //classList.add adiciona ao elemento a classe passada como parâmetro
- textoElemento.classList.add('checked');
- })
-
- //função de deletar
- deletaElemento.addEventListener('click', () => {
- listaTarefas.removeChild(elementoLista)
- //outra alternativa: elementoLista.remove()
- //para excluir todos os elementos de uma vez: listaTarefas.remove();
- })
-
- //função de marcar todos
- botaoMarcarTodos.addEventListener('click', () => {
- //o querySelectorALl retorna um array com itens de acordo com o que foi passado como parâmetro
-
- if (botaoMarcarTodos.innerText === 'Marcar Todos') {
- const todosParagrafos = document.querySelectorAll('p');
-
- //percorre cada item do array e adiciona a classe "checked" a cada um dos itens
- todosParagrafos.forEach(paragrafo => {
- paragrafo.classList.add('checked');
- });
- //muda o texto do botão
- botaoMarcarTodos.innerText = 'Desmarcar Todos';
- } else {
- const todosParagrafos = document.querySelectorAll('p');
-
- //percorre cada item do array e remove a classe "checked" de cada um dos itens
- todosParagrafos.forEach(paragrafo => {
- paragrafo.classList.remove('checked')
- });
- //muda o texto do botão
- botaoMarcarTodos.innerText = 'Marcar Todos';
- }
-
- })
-
- //função de limpar
- botaoLimpar.addEventListener('click', () => {
- listaTarefas.innerHTML = '';
- //outra alternativa: listaTarefas.remove();
- });
-
-});
\ No newline at end of file
diff --git a/projeto jaqueline/src/css/style.css b/projeto jaqueline/src/css/style.css
deleted file mode 100644
index 6ab7c95..0000000
--- a/projeto jaqueline/src/css/style.css
+++ /dev/null
@@ -1,221 +0,0 @@
-* {
- box-sizing: border-box;
- font-family: 'Manjari', sans-serif;
- font-size: 16px;
-}
-
-body {
- margin: 0;
- background-color: #f3d10e;
- box-sizing: border-box;
-}
-
-li {
- display: flex;
- max-width: 90%;
- justify-content: space-between;
- cursor: pointer;
- color: #e3dbe6;
-}
-
-button {
- cursor: pointer;
-}
-
-.flex {
- min-height: 100%;
- display: flex;
- align-items: center;
- justify-content: center;
- padding: 2rem;
- flex-direction: column;
-}
-
-.todo__container {
- background-color: rgb(57, 6, 61);
- text-align: center;
- margin: 100px auto 0;
- width: 100%;
- max-width: 30rem;
- padding: 0px 0px 32px 0px;
- border-radius: 14px;
- box-shadow: 0px 24px 80px rgba(144, 192, 31, 0.24);
-}
-
-.todo__title {
- text-align: center;
- margin: 40px auto px auto;
- display: inline-block;
- font-size: 24px;
- color: #fcfcfc;
-
-}
-
-.todo-form {
- justify-content: center;
- display: flex;
- color: #e3d2e7;
-
-}
-
-.empty {
- position: relative;
- animation: shake .1s linear;
- animation-iteration-count: 3;
-}
-
-@keyframes shake {
- 0% {
- left: -5px;
- }
- 100% {
- right: -5px;
- }
-}
-
-.todo__tarefas__sample {
- max-width: 90%;
- background: #4445531a;
- margin: 0 auto;
- height: 60px;
- border-radius: 24px;
- align-items: center;
- padding: 20px;
- margin: 16px auto;
-}
-
-.todo__tarefas__sample-content {
- background: #8980ad25;
- max-width: 50%;
- height: 20px;
- border-radius: 14px;
-}
-
-.todo__tarefas__sample:last-child {
- opacity: 0.60;
-}
-
-.todo-form__input {
- width: 75%;
- padding: 24px;
- height: 60px;
- background-color: #e3d2e7;
- border-radius: 24px;
- border: 0px;
- outline: none;
- margin-right: 3%;
-}
-
-.todo-form__input:focus {
- outline: none;
- border: solid 3px #dbc8e4;
-}
-
-.todo-form__btn {
- background-color: #23aa8d;
- text-transform: uppercase;
- color: white;
- width: 55px;
- height: 55px;
- display: inline-block;
- border-radius: 50%;
- font-size: 24px;
- cursor: pointer;
- border: 0px;
-}
-
-.todo-form__btn:hover {
- box-shadow: 0px 16px 24px rgba(229, 228, 235, 0.267);
- width: 56px;
- height: 56px;
- transition: 0.3s;
-}
-
-.todo__btn-container {
- display: flex;
- align-items: center;
- justify-content: center;
-}
-
-.todo__tudo-feito {
- border: 4px solid #c70c7c;
- box-sizing: border-box;
- border-radius: 24px;
- background-color:transparent;
- padding: 16px 20px 16px 20px;
- margin: 16px 20px 0px 20px;
- color: #e3dbe6;
-}
-
-.checked {
- text-decoration: line-through wavy #c70c7c;
-}
-
-.todo__tudo-feito:hover {
- background-color: #3d0426;
- box-shadow: 0px 16px 24px rgba(175, 207, 48, 0.205);
- transition: 0.3s;
- color: #f1e7e7;
-}
-
-.todo__remover-todos {
- border: 4px solid #c70c7c;
- box-sizing: border-box;
- border-radius: 24px;
- background-color:#c70c7c;
- padding: 16px 20px 16px 20px;
- margin: 16px 20px 0px 20px;
- color: #f1e7e7;
-}
-
-.todo__remover-todos:hover {
- background-color: #3d0426;
- box-shadow: 0px 16px 24px rgba(175, 207, 48, 0.205);
- transition: 0.3s;
- color: #e3dbe6;
-}
-
-@media only screen and (max-width: 460px) {
- .todo-form {
- flex-direction: column;
- }
- .todo-form__input {
- width: 90%;
- align-self: center;
- margin: 0 auto;
- }
- .todo-form__btn {
- background-color: #7E77A0;
- text-transform: uppercase;
- color: white;
- width: 90%;
- height: 55px;
- border-radius: 24px;
- align-self: center;
- margin-top: 8px;
- }
- .todo-form__btn:hover {
- box-shadow: 0px 16px 24px rgba(126, 119, 160, 0.267);
- width: 90%;
- transition: 0.3s;
- }
- .todo__btn-container {
- flex-direction: column;
- }
- .todo__tudo-feito {
- width: 90%;
- }
- .todo__tudo-feito:hover {
- background-color: #B0CF30;
- box-shadow: 0px 16px 24px rgba(175, 207, 48, 0.205);
- transition: 0.3s;
- }
- .todo__remover-todos {
- background-color: transparent;
- width: 90%;
- margin-top: 8px;
- }
- .todo__tarefas {
- margin: 32px auto 24px auto;
- }
-}
\ No newline at end of file
diff --git a/projeto jaqueline/src/index.html b/projeto jaqueline/src/index.html
deleted file mode 100644
index 637c01e..0000000
--- a/projeto jaqueline/src/index.html
+++ /dev/null
@@ -1,55 +0,0 @@
-
-
-
-
-
-
-
-
-
- ToDo List
-
-
-
-
-
-
-
Lista de Tarefas
-
-
-
-
-
-
-
-
-
- Marcar todos
- Limpar Lista
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/projeto jaqueline/src/script.js b/projeto jaqueline/src/script.js
deleted file mode 100644
index a6d9de2..0000000
--- a/projeto jaqueline/src/script.js
+++ /dev/null
@@ -1,103 +0,0 @@
-// nó do input
-const inputado = document.querySelector("#todoInput");
-
-//nó do botao
-const botao = document.getElementById("todoSubmit");
-
-//nó da ul
-const listaTarefas = document.getElementById("todoLista");
-
-// nó do formulario
-const formulario = document.getElementById("todoForm");
-
-// nó de limpar
-const botaoLimpar = document.getElementById("todoRemoverTodos");
-
-//no do botao marcar todos
-const botaoMarcarTodas = document.querySelector("#todoMarcarTodos");
-
-//criar evento botao
-botao.addEventListener("click", (event) => {
- //previne que o formulario seja enviado ao clicar, espera processar o que da função
- event.preventDefault();
-
- const elementoLista = document.createElement("li");
- const textoElemento = document.createElement("p");
- const deletaElemento = document.createElement("span");
- textoElemento.innerText = inputado.value;
-
- //atribuimos o valor do input ao criado a partir do click do botao
- textoElemento.innerText = inputado.value;
- deletaElemento.innerText = "🗑"; //tecla windows + .
- // para incluir imagem seria incluir "img src e icluir o local da ///////////////////////////imagem"
- // pra excluir itens da lista precisamos criar um elemento que representa isto e colocar o evento para remover o nó
-
- if (textoElemento.innerText.value == '') {
- document.getElementById ('mensagem de erro').innerHTML = 'Campo preenchido incorreto. Preencha com uma informação válida.'
-
- } else {
-
- listaTarefas.appendChild(elementoLista);
- elementoLista.appendChild(textoElemento);
- elementoLista.appendChild(deletaElemento);
- document.getElementById('mensagem de erro').innerHtml = '';
-
- //if (textoElemento.innerText.trim() === "") {
- //alert("insira uma tarefa");
- //} else {
- //pegamos o nó mãe e acrescentamos o elemento filho appendchild
- // listaTarefas.appendChild(elementoLista);
- // elementoLista.appendChild(textoElemento);
- // elementoLista.appendChild(deletaElemento);
- // opcao com alerta
-
-
- //pegamos o nó do formulário e utilizamos um método para limpar o texto inserido no formulario
- formulario.reset();
- }
-
- //funcao de checar
- textoElemento.addEventListener("click", () => {
- textoElemento.classList.add("checked");
- });
-
- // funcao de deletar
- deletaElemento.addEventListener("click", () => {
- listaTarefas.removeChild(elementoLista);
- // outra forma de resolver >>> elementoLista.remover
- });
-
- //TODO função de marcar todos
- botaoMarcarTodas.addEventListener('click', () => {
- //o querySelectorAll retorna uma array com itens de acordo com parameto passado
-
- if (botaoMarcarTodas.innerText === 'Marcar todos') {
-
- let todosParagrafos = document.querySelectorAll("p");
- console.log(todosParagrafos, "vai retornar todos os
encontrados");
- //pegar Todos os
- //utiliza um foreach para acrescentar uma classe em casa um
-
- todosParagrafos.forEach(item => {
- item.classList.add("checked");
- });
-
- botaoMarcarTodas.innerText = "Desmarcar todos";
- } else {
- const todosParagrafos = document.querySelectorAll("p");
- todosParagrafos.forEach(item => {
- item.classList.remove("checked");
-
- });
-
- botaoMarcarTodas.innerText = "Marcar todos";
- }
- });
-
- //TODO função de limpar
- botaoLimpar.addEventListener("click", () => {
- //listaTarefas ul
- console.log("limpar");
- listaTarefas.innerHTML = "";
- });
-});
diff --git a/projeto/src/index.html b/projeto/src/index.html
index 322aad5..2daf372 100644
--- a/projeto/src/index.html
+++ b/projeto/src/index.html
@@ -7,7 +7,7 @@
-
ToDo List
+ To Do List
diff --git a/samdra_dee/src/css/style.css b/samdra_dee/src/css/style.css
deleted file mode 100644
index 28b72b2..0000000
--- a/samdra_dee/src/css/style.css
+++ /dev/null
@@ -1,220 +0,0 @@
-* {
- box-sizing: border-box;
- font-family: 'Manjari', sans-serif;
- font-size: 16px;
-}
-
-.vermelho {
- background-color: red;
- height: 200px;
-}
-body {
- margin: 0;
- background-color: #9182A6;
- box-sizing: border-box;
-}
-
-li {
- display: flex;
- max-width: 90%;
- justify-content: space-between;
- cursor: pointer;
-}
-
-button {
- cursor: pointer;
-}
-
-.flex {
- min-height: 100%;
- display: flex;
- align-items: center;
- justify-content: center;
- padding: 2rem;
- flex-direction: column;
-}
-
-.todo__container {
- background-color: white;
- text-align: center;
- margin: 100px auto 0;
- width: 100%;
- max-width: 30rem;
- padding: 0px 0px 32px 0px;
- border-radius: 14px;
- box-shadow: 0px 24px 80px rgba(0, 45, 37, 0.24);
-}
-
-.todo__title {
- text-align: center;
- margin: 40px auto 32px auto;
- display: inline-block;
- font-size: 24px;
- color: #7E77A0;
-}
-
-.todo-form {
- justify-content: center;
- display: flex;
-}
-
-.empty {
- position: relative;
- animation: shake .1s linear;
- animation-iteration-count: 3;
-}
-
-@keyframes shake {
- 0% {
- left: -5px;
- }
- 100% {
- right: -5px;
- }
-}
-
-.todo__tarefas__sample {
- max-width: 90%;
- background: #7e77a01a;
- margin: 0 auto;
- height: 60px;
- border-radius: 24px;
- align-items: center;
- padding: 20px;
- margin: 16px auto;
-}
-
-.todo__tarefas__sample-content {
- background: #8f88b325;
- max-width: 50%;
- height: 20px;
- border-radius: 14px;
-}
-
-.todo__tarefas__sample:last-child {
- opacity: 0.60;
-}
-
-.todo-form__input {
- width: 75%;
- padding: 24px;
- height: 60px;
- background-color: #E6EEC6;
- border-radius: 24px;
- border: 0px;
- outline: none;
- margin-right: 3%;
-}
-
-.todo-form__input:focus {
- outline: none;
- border: solid 3px #B0CF30;
-}
-
-.todo-form__btn {
- background-color: #7E77A0;
- text-transform: uppercase;
- color: white;
- width: 55px;
- height: 55px;
- display: inline-block;
- border-radius: 50%;
- font-size: 24px;
- cursor: pointer;
- border: 0px;
-}
-
-.todo-form__btn:hover {
- box-shadow: 0px 16px 24px rgba(126, 119, 160, 0.267);
- width: 56px;
- height: 56px;
- transition: 0.3s;
-}
-
-.todo__btn-container {
- display: flex;
- align-items: center;
- justify-content: center;
-}
-
-.todo__tudo-feito {
- border: 4px solid #B0CF30;
- box-sizing: border-box;
- border-radius: 24px;
- background-color: transparent;
- padding: 16px 20px 16px 20px;
- margin: 16px 20px 0px 20px;
- color: rgb(73, 73, 73);
-}
-
-.checked {
- background-color: yellowgreen;
- text-decoration: line-through wavy #7E77A0;
-}
-
-.todo__tudo-feito:hover {
- background-color: #B0CF30;
- box-shadow: 0px 16px 24px rgba(175, 207, 48, 0.205);
- transition: 0.3s;
-}
-
-.todo__remover-todos {
- border: 4px solid #B0CF30;
- box-sizing: border-box;
- border-radius: 24px;
- background-color: #B0CF30;
- padding: 16px 20px 16px 20px;
- margin: 16px 20px 0px 20px;
- color: #494949;
-}
-
-.todo__remover-todos:hover {
- background-color: transparent;
- box-shadow: 0px 16px 24px rgba(175, 207, 48, 0.205);
- transition: 0.3s;
-}
-
-@media only screen and (max-width: 460px) {
- .todo-form {
- flex-direction: column;
- }
- .todo-form__input {
- width: 90%;
- align-self: center;
- margin: 0 auto;
- }
- .todo-form__btn {
- background-color: #7E77A0;
- text-transform: uppercase;
- color: white;
- width: 90%;
- height: 55px;
- border-radius: 24px;
- align-self: center;
- margin-top: 8px;
- }
- .todo-form__btn:hover {
- box-shadow: 0px 16px 24px rgba(126, 119, 160, 0.267);
- width: 90%;
- transition: 0.3s;
- }
- .todo__btn-container {
- flex-direction: column;
- }
- .todo__tudo-feito {
- width: 90%;
- }
- .todo__tudo-feito:hover {
- background-color: #B0CF30;
- box-shadow: 0px 16px 24px rgba(175, 207, 48, 0.205);
- transition: 0.3s;
- }
- .todo__remover-todos {
- background-color: transparent;
- width: 90%;
- margin-top: 8px;
- }
- .todo__tarefas {
- margin: 32px auto 24px auto;
- }
-}
\ No newline at end of file
diff --git a/samdra_dee/src/index.html b/samdra_dee/src/index.html
deleted file mode 100644
index e8dcf04..0000000
--- a/samdra_dee/src/index.html
+++ /dev/null
@@ -1,52 +0,0 @@
-
-
-
-
-
-
-
-
-
- ToDo List
-
-
-
-
-
-
-
Lista de Tarefas
-
-
-
-
-
-
-
-
- Marcar todos
- Limpar Lista
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/samdra_dee/src/script.js b/samdra_dee/src/script.js
deleted file mode 100644
index 500c28f..0000000
--- a/samdra_dee/src/script.js
+++ /dev/null
@@ -1,119 +0,0 @@
-//const teste = document.querySelector('#teste_dom');c
-//const container = document.getElementById('container');
-
-//const botaoTeste = document.getElementById('todoMarcarTodos');
-
-//console.log(teste, "teste de dom");
-//console.log(container, "container");
-
-
-//texto.innerText = "criado para estudo";
-
-//container.appendChild(texto);
-
-// nó do input
-const inputado = document.querySelector('#todoInput');
-
-//nó da botao
-const botao = document.getElementById('todoSubmit');
-
-//nó da ul
-const listaTarefas = document.getElementById('todoLista');
-
-//nó do formulário
-const formulario = document.getElementById('todoForm');
-
-//nó do botão limpar
-const botaoLimpar = document.getElementById('todoRemoverTodos');
-
-// nó do botão marcar todos
-const botaoMarcarTodas = document.querySelector('#todoMarcarTodos');
-
-// criar evento botão
-botao.addEventListener('click', (event) => {
- //previne que o formulário seja enviado ao clicar, espera processar o que precisa da função
- event.preventDefault();
-
- const elementoLista = document.createElement('li');
- const textoElemento = document.createElement('p');
- const deletaElemento = document.createElement('span');
-
- // atribuímos o valor do input ao criado a partir do clique no botão
- textoElemento.innerText = inputado.value;
- deletaElemento.innerText = '🧨';
- // para excluir itens da lista, precisamos criar um elemento que represente isso, e colocar evento para remover o nó do dom
-
- if (textoElemento.innerText.trim() === '') {
- alert("Insira uma tarefa");
- } else {
- //pegamos o nó mãe , e acrescentamos o elemento filho com o append
- listaTarefas.appendChild(elementoLista);
- elementoLista.appendChild(textoElemento);
- elementoLista.appendChild(deletaElemento);
-
- // pegamos o nó do formulário e utilizamos um método para limpar o input
- formulario.reset();
-
- }
-
- //função de checar
- textoElemento.addEventListener("click", () => {
- textoElemento.classList.add("checked");
- });
-
- //função de deletar
- deletaElemento.addEventListener("click", () => {
- listaTarefas.removeChild(elementoLista);
- // outra de forma de resolver >>> elementoLista.remove();
- });
-
- // //TODO função de marcar todos
- botaoMarcarTodas.addEventListener('click', () => {
- // o querySelectorALl retorna um array com itens de acordo o passado como parâmetro
-
-
- if (botaoMarcarTodas.innerText === 'Marcar todos') {
- const todosParagrafos = document.querySelectorAll('p');
- console.log(todosParagrafos, "vai retornar todos os
encontrados");
-
- todosParagrafos.forEach(item => {
- item.classList.add("checked");
- });
- botaoMarcarTodas.innerText = 'Desmarcar todos';
- } else {
- const todosParagrafos = document.querySelectorAll('p');
- todosParagrafos.forEach(item => {
- item.classList.remove("checked");
- });
- botaoMarcarTodas.innerText = 'Marcar todos';
- }
-
- });
-
- //TODO função de limpar
- botaoLimpar.addEventListener('click', () => {
- //listaTarefas é
- listaTarefas.innerHTML = '';
- });
-
-});
-
-
-// exemplo estrutura HTML
-{/* ;; */}
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/talita_carvalho/src/css/style.css b/talita_carvalho/src/css/style.css
deleted file mode 100644
index 011b4c2..0000000
--- a/talita_carvalho/src/css/style.css
+++ /dev/null
@@ -1,251 +0,0 @@
-* {
- box-sizing: border-box;
- font-family: 'Manjari', sans-serif;
- font-size: 16px;
-}
-
-body {
- margin: 0;
- background-color: #9182A6;
- box-sizing: border-box;
-
-}
-
-li {
- display: flex;
- max-width: 90%;
- justify-content: space-between;
- cursor: pointer;
-}
-
-button {
- cursor: pointer;
-}
-
-.flex {
- min-height: 100%;
- display: flex;
- align-items: center;
- justify-content: center;
- padding: 2rem;
- flex-direction: column;
-}
-
-.todo__container {
- background-color: white;
- text-align: center;
- margin: 100px auto 0;
- width: 100%;
- max-width: 30rem;
- padding: 0px 0px 32px 0px;
- border-radius: 14px;
- box-shadow: 0px 24px 80px rgba(0, 45, 37, 0.24);
-}
-
-.todo__title {
- text-align: center;
- margin: 40px auto 32px auto;
- display: inline-block;
- font-size: 24px;
- color: #7E77A0;
-}
-
-.todo-form {
- justify-content: center;
- display: flex;
-}
-
-.empty {
- position: relative;
- animation: shake .1s linear;
- animation-iteration-count: 3;
-}
-
-@keyframes shake {
- 0% {
- left: -5px;
- }
- 100% {
- right: -5px;
- }
-}
-
-.todo__tarefas__sample {
- max-width: 90%;
- background: #7e77a01a;
- margin: 0 auto;
- height: 60px;
- border-radius: 24px;
- align-items: center;
- padding: 20px;
- margin: 16px auto;
-}
-
-.todo__tarefas__sample-content {
- background: #8f88b325;
- max-width: 50%;
- height: 20px;
- border-radius: 14px;
-}
-
-.todo__tarefas__sample:last-child {
- opacity: 0.60;
-}
-
-.todo-form__input {
- width: 75%;
- padding: 24px;
- height: 60px;
- background-color: #E6EEC6;
- border-radius: 24px;
- border: 0px;
- outline: none;
- margin-right: 3%;
-}
-
-.todo-form__input:focus {
- outline: none;
- border: solid 3px #B0CF30;
-}
-
-.todo-form__btn {
- background-color: #7E77A0;
- text-transform: uppercase;
- color: white;
- width: 55px;
- height: 55px;
- display: inline-block;
- border-radius: 50%;
- font-size: 24px;
- cursor: pointer;
- border: 0px;
-}
-
-.todo-form__btn:hover {
- box-shadow: 0px 16px 24px rgba(126, 119, 160, 0.267);
- width: 56px;
- height: 56px;
- transition: 0.3s;
-}
-
-.todo__btn-container {
- display: flex;
- align-items: center;
- justify-content: center;
-}
-
-.todo__tudo-feito {
- border: 4px solid #B0CF30;
- box-sizing: border-box;
- border-radius: 24px;
- background-color: transparent;
- padding: 16px 20px 16px 20px;
- margin: 16px 20px 0px 20px;
- color: rgb(73, 73, 73);
-}
-
-.checked {
- text-decoration: line-through wavy #7E77A0;
-}
-
-.todo__tudo-feito:hover {
- background-color: #B0CF30;
- box-shadow: 0px 16px 24px rgba(175, 207, 48, 0.205);
- transition: 0.3s;
-}
-
-.todo__remover-todos {
- border: 4px solid #B0CF30;
- box-sizing: border-box;
- border-radius: 24px;
- background-color: #B0CF30;
- padding: 16px 20px 16px 20px;
- margin: 16px 20px 0px 20px;
- color: #494949;
-}
-
-.todo__remover-todos:hover {
- background-color: transparent;
- box-shadow: 0px 16px 24px rgba(175, 207, 48, 0.205);
- transition: 0.3s;
-}
-
-@media only screen and (max-width: 460px) {
- .todo-form {
- flex-direction: column;
- }
- .todo-form__input {
- width: 90%;
- align-self: center;
- margin: 0 auto;
- }
- .todo-form__btn {
- background-color: #7E77A0;
- text-transform: uppercase;
- color: white;
- width: 90%;
- height: 55px;
- border-radius: 24px;
- align-self: center;
- margin-top: 8px;
- }
- .todo-form__btn:hover {
- box-shadow: 0px 16px 24px rgba(126, 119, 160, 0.267);
- width: 90%;
- transition: 0.3s;
- }
- .todo__btn-container {
- flex-direction: column;
- }
- .todo__tudo-feito {
- width: 90%;
- }
- .todo__tudo-feito:hover {
- background-color: #B0CF30;
- box-shadow: 0px 16px 24px rgba(175, 207, 48, 0.205);
- transition: 0.3s;
- }
- .todo__remover-todos {
- background-color: transparent;
- width: 90%;
- margin-top: 8px;
- }
- .todo__tarefas {
- margin: 32px auto 24px auto;
- }
-}
-
-.mdi-delete {
- color: red;
-}
-
-.erro-alert {
- background-color: lightcoral;
- margin: 0 auto 15px;
- width: 80%;
- color: white;
- font-weight: bold;
- border-radius: 5px;
- padding: 5px;
- animation: show .2s ease-in-out
-}
-
-.show {
- display: none;
-}
-
-@keyframes show {
- from {
- width: 0%;
- height: 0;
- }
- to {
- width: 80%;
- }
-}
-
-/* .imagem {
- position: relative;
- height: 100vh;
- width: 100vh;
-} */
\ No newline at end of file
diff --git a/talita_carvalho/src/index.html b/talita_carvalho/src/index.html
deleted file mode 100644
index 1b13cb0..0000000
--- a/talita_carvalho/src/index.html
+++ /dev/null
@@ -1,73 +0,0 @@
-
-
-
-
-
-
-
-
-
- ToDo List
-
-
-
-
-
-
Lista de Tarefas
-
-
- Insira um valor válido
-
-
-
-
-
-
-
-
-
-
-
- Marcar todos
-
-
- Limpar Lista
-
-
-
-
-
-
-
-
diff --git a/talita_carvalho/src/script.js b/talita_carvalho/src/script.js
deleted file mode 100644
index a39d69f..0000000
--- a/talita_carvalho/src/script.js
+++ /dev/null
@@ -1,67 +0,0 @@
-const listaTarefa = document.querySelector("#todoLista");
-const caixaTexto = document.querySelector("#todoInput");
-const botaoAdicionarItem = document.querySelector("#todoSubmit");
-const botaoMarcarTodas = document.querySelector("#todoMarcarTodos");
-const limparLista = document.querySelector('#todoRemoverTodos')
-const erroAlert = document.querySelector('.erro-alert')
-
-botaoAdicionarItem.addEventListener("click", function (event) {
- event.preventDefault();
-
- const elementoLista = document.createElement("li");
- const textoElemento = document.createElement("div");
- const deletaElemento = document.createElement("span");
-
- textoElemento.innerText = caixaTexto.value;
- deletaElemento.classList.add('mdi');
- deletaElemento.classList.add('mdi-trash-can-outline');
-
- if (textoElemento.innerText.trim() === "") {
- erroAlert.classList.remove('show')
- setTimeout(() => {
- erroAlert.classList.add('show')
- }, 2000)
- } else {
- elementoLista.appendChild(textoElemento);
- elementoLista.appendChild(deletaElemento);
- listaTarefa.appendChild(elementoLista);
- }
-
- caixaTexto.value = "";
-
- elementoLista.addEventListener("click", () => {
- elementoLista.classList.add("checked");
- });
-
- deletaElemento.addEventListener("click", () => {
- // listaTarefa.removeChild(elementoLista) outra forma de remover
- elementoLista.remove();
- });
-
- botaoMarcarTodas.addEventListener("click", () => {
- const todosParagrafos = document.querySelectorAll("p");
-
- if (botaoMarcarTodas.innerText === "Marcar todos") {
- const todosParagrafos = document.querySelectorAll("p");
-
- todosParagrafos.forEach((item) => {
- item.classList.add("checked");
- });
- botaoMarcarTodas.innerText = "Desmarcar todos";
- } else {
- const todosParagrafos = document.querySelectorAll("p");
-
- todosParagrafos.forEach((item) => {
- item.classList.remove("checked");
- });
-
- botaoMarcarTodas.innerText = "Marcar todos";
- }
- });
-});
-
-limparLista.addEventListener('click', (event) => {
- while (listaTarefa.hasChildNodes()) {
- listaTarefa.removeChild(listaTarefa.firstChild)
- }
-})
diff --git a/vera-santana/src/css/style.css b/vera-santana/src/css/style.css
deleted file mode 100644
index 983ea08..0000000
--- a/vera-santana/src/css/style.css
+++ /dev/null
@@ -1,219 +0,0 @@
-* {
- box-sizing: border-box;
- font-family: 'Manjari', sans-serif;
- font-size: 16px;
-}
-
-body {
- margin: 0;
- background-color: #9182A6;
- box-sizing: border-box;
-}
-
-li {
- display: flex;
- max-width: 90%;
- justify-content: space-between;
- cursor: pointer;
-}
-
-button {
- cursor: pointer;
-}
-
-.flex {
- min-height: 100%;
- display: flex;
- align-items: center;
- justify-content: center;
- padding: 2rem;
- flex-direction: column;
-}
-
-.todo__container {
- background-color: white;
- text-align: center;
- margin: 100px auto 0;
- width: 100%;
- max-width: 30rem;
- padding: 0px 0px 32px 0px;
- border-radius: 14px;
- box-shadow: 0px 24px 80px rgba(0, 45, 37, 0.24);
-}
-
-.todo__title {
- text-align: center;
- margin: 40px auto 32px auto;
- display: inline-block;
- font-size: 24px;
- color: #7E77A0;
-}
-
-.todo-form {
- justify-content: center;
- display: flex;
-}
-
-.sample {
- text-align: left;
- margin-left: 50px;
-}
-.empty {
- position: relative;
- animation: shake .1s linear;
- animation-iteration-count: 3;
-}
-
-@keyframes shake {
- 0% {
- left: -5px;
- }
- 100% {
- right: -5px;
- }
-}
-
-.todo__tarefas__sample {
- max-width: 90%;
- background: #7e77a01a;
- margin: 0 auto;
- height: 60px;
- border-radius: 24px;
- align-items: center;
- padding: 20px;
- margin: 16px auto;
-}
-
-.todo__tarefas__sample-content {
- background: #8f88b325;
- max-width: 50%;
- height: 20px;
- border-radius: 14px;
-}
-
-.todo__tarefas__sample:last-child {
- opacity: 0.60;
-}
-
-.todo-form__input {
- width: 75%;
- padding: 24px;
- height: 60px;
- background-color: #E6EEC6;
- border-radius: 24px;
- border: 0px;
- outline: none;
- margin-right: 3%;
-}
-
-.todo-form__input:focus {
- outline: none;
- border: solid 3px #B0CF30;
-}
-
-.todo-form__btn {
- background-color: #7E77A0;
- text-transform: uppercase;
- color: white;
- width: 55px;
- height: 55px;
- display: inline-block;
- border-radius: 50%;
- font-size: 24px;
- cursor: pointer;
- border: 0px;
-}
-
-.todo-form__btn:hover {
- box-shadow: 0px 16px 24px rgba(126, 119, 160, 0.267);
- width: 56px;
- height: 56px;
- transition: 0.3s;
-}
-
-.todo__btn-container {
- display: flex;
- align-items: center;
- justify-content: center;
-}
-
-.todo__tudo-feito {
- border: 4px solid #B0CF30;
- box-sizing: border-box;
- border-radius: 24px;
- background-color: transparent;
- padding: 16px 20px 16px 20px;
- margin: 16px 20px 0px 20px;
- color: rgb(73, 73, 73);
-}
-
-.checked {
- text-decoration: line-through wavy #7E77A0;
-}
-
-.todo__tudo-feito:hover {
- background-color: #B0CF30;
- box-shadow: 0px 16px 24px rgba(175, 207, 48, 0.205);
- transition: 0.3s;
-}
-
-.todo__remover-todos {
- border: 4px solid #B0CF30;
- box-sizing: border-box;
- border-radius: 24px;
- background-color: #B0CF30;
- padding: 16px 20px 16px 20px;
- margin: 16px 20px 0px 20px;
- color: #494949;
-}
-
-.todo__remover-todos:hover {
- background-color: transparent;
- box-shadow: 0px 16px 24px rgba(175, 207, 48, 0.205);
- transition: 0.3s;
-}
-
-@media only screen and (max-width: 460px) {
- .todo-form {
- flex-direction: column;
- }
- .todo-form__input {
- width: 90%;
- align-self: center;
- margin: 0 auto;
- }
- .todo-form__btn {
- background-color: #7E77A0;
- text-transform: uppercase;
- color: white;
- width: 90%;
- height: 55px;
- border-radius: 24px;
- align-self: center;
- margin-top: 8px;
- }
- .todo-form__btn:hover {
- box-shadow: 0px 16px 24px rgba(126, 119, 160, 0.267);
- width: 90%;
- transition: 0.3s;
- }
- .todo__btn-container {
- flex-direction: column;
- }
- .todo__tudo-feito {
- width: 90%;
- }
- .todo__tudo-feito:hover {
- background-color: #B0CF30;
- box-shadow: 0px 16px 24px rgba(175, 207, 48, 0.205);
- transition: 0.3s;
- }
- .todo__remover-todos {
- background-color: transparent;
- width: 90%;
- margin-top: 8px;
- }
- .todo__tarefas {
- margin: 32px auto 24px auto;
- }
-}
\ No newline at end of file
diff --git a/vera-santana/src/index.html b/vera-santana/src/index.html
deleted file mode 100644
index 7df5123..0000000
--- a/vera-santana/src/index.html
+++ /dev/null
@@ -1,49 +0,0 @@
-
-
-
-
-
-
-
-
-
- ToDo List
-
-
-
-
-
-
-
Lista de Tarefas
-
-
-
-
-
-
-
-
-
-
- Marcar todos
- Limpar Lista
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/vera-santana/src/script.js b/vera-santana/src/script.js
deleted file mode 100644
index 3be34f1..0000000
--- a/vera-santana/src/script.js
+++ /dev/null
@@ -1,67 +0,0 @@
-const toDoTextArea = document.getElementById('todoInput');
-const btn = document.getElementById('todoSubmit');
-const warning = document.getElementById('error-text');
-const toDoList = document.getElementById('todoLista');
-const form = document.getElementById('todoForm');
-const btnCleanUp = document.getElementById('todoRemoverTodos');
-const btnMarkAll = document.getElementById('todoMarcarTodos');
-
-
-btn.addEventListener('click', function TextAreaValidation(event) {
- event.preventDefault();
-
- const listElement = document.createElement('li');
- const textElement = document.createElement('p');
- const deleteElement = document.createElement('span');
-
-
- textElement.innerText = toDoTextArea.value;
- deleteElement.innerText = '🧨';
-
- if (textElement.innerText.trim() === '') {
- warning.innerText = 'Campo obrigatório, insira uma tarefa'
- } else {
- warning.innerText = '';
- toDoList.appendChild(listElement);
- listElement.appendChild(textElement);
- listElement.appendChild(deleteElement);
- }
-
- // cleanTextArea();
- // function cleanTextArea() {
- // document.getElementById('todoInput').value = ''
-
- form.reset();
-
- deleteElement.addEventListener('click', () => {
- textElement.classList.add('checked');
- });
-
- deleteElement.addEventListener('click', () => {
- toDoList.removeChild(listElement);
- });
-
- btnMarkAll.addEventListener('click', () => {
- if (btnMarkAll.innerText === 'Marcar todos') {
- const allParagraphs = document.querySelectorAll('p');
- console.log(allParagraphs);
-
- allParagraphs.forEach(item => {
- item.classList.add('checked');
- });
-
- btnMarkAll.innerText = 'Desmarcar todos';
- } else {
- const allParagraphs = document.querySelectorAll('p');
- allParagraphs.forEach(item => {
- item.classList.remove('checked');
- });
-
- btnMarkAll.innerText = 'Marcar todos';
- }
- });
-
- btnCleanUp.addEventListener('click', () => {
- toDoList.innerHTML = '';
- });
-})
\ No newline at end of file