Skip to content

Commit

Permalink
version 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
leandrorafaeel committed Nov 26, 2021
1 parent 0502e64 commit bac2624
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 4 deletions.
Binary file modified assets/images/desktop.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/images/mobile.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 8 additions & 1 deletion assets/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,4 +111,11 @@ function addTarefas(){
document.querySelector(".btn-submit").addEventListener("click", function(e){
e.preventDefault();
addTarefas();
});
});

//funcao copyright
copyright();
function copyright(){
const copyright = document.querySelector(".ano");
copyright.textContent = new Date().getFullYear();
}
14 changes: 12 additions & 2 deletions assets/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,13 @@ ul{
font-size: 3.3rem;
letter-spacing: 1px;
text-shadow: .2rem .2rem .3rem #000;
margin-bottom: 45px;
margin-bottom: 25px;
}
/*form*/
#form{
display: flex;
align-items: center;
margin-bottom: 50px;
margin-bottom: 20px;
}
.task-value{
width: 650px;
Expand Down Expand Up @@ -142,6 +142,16 @@ ul{
width: 120px;
margin-top: 20px;
}
footer{
background: linear-gradient(to right, #da4652, #450652);;
color: #fff;
text-align: center;
padding: 5px;
}
footer a{
color: #fff;
letter-spacing: 1px;
}

/*BREACKPOINT*/
@media (min-width: 420px) and (max-width: 780px){
Expand Down
10 changes: 9 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,12 @@
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Todo List</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Todo List</title>
<meta name="author" content="Leandro Rafael">

<!--LINKS-->
<link rel="stylesheet" href="assets/style.css">
<!--Google Fonts-->
<link href="https://fonts.googleapis.com/css2?family=Baloo+2:wght@400;500;700&display=swap" rel="stylesheet">
Expand Down Expand Up @@ -49,6 +52,11 @@ <h4 class="list-title hide">Suas atividades para hoje:</h4>
</section>
</div>
</main>
<!--RODAPE-->
<footer>
<p>Desenvolvido por <a href="https://www.instagram.com/leandro.rafaeel/" target="_blank">Leandro Rafael</a></p>
<p>&copy;<span class="ano"> </span> - Todos os direitos reservados</p>
</footer>
</body>
<!--script-->
<script src="assets/script.js"></script>
Expand Down

0 comments on commit bac2624

Please sign in to comment.