Skip to content

Commit

Permalink
boton
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabian-Martinez-Rincon committed Nov 19, 2021
1 parent f8efb65 commit 2600e48
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ <h2><img src="/img/predeterminada.png" class= "imagenNueva"/> </h2>
let navigation = document.querySelector('.navigation')


/*body.classList.toggle('dark')
dayNight.classList.toggle('active')*/
body.classList.toggle('dark')
dayNight.classList.toggle('active')

dayNight.onclick=function(){
body.classList.toggle('dark')
Expand Down
2 changes: 1 addition & 1 deletion style.css
Original file line number Diff line number Diff line change
Expand Up @@ -441,4 +441,4 @@ body
align-items: center;
min-height: 100vh;
background: var(--white);
}
}

0 comments on commit 2600e48

Please sign in to comment.