Skip to content

Commit

Permalink
Logo Button
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelvicenzo committed Mar 20, 2024
1 parent 0f19134 commit 5dc01a8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
5 changes: 3 additions & 2 deletions script.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
"use strict";

document.querySelector('.logotitle').addEventListener('click', function (event) {
document.querySelector('.logoTitle').addEventListener('click', function (event) {
if (event.currentTarget === event.target) {
window.location.href = 'index.html';
window.location.href = '/index.html';
}
});



4 changes: 0 additions & 4 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -210,10 +210,6 @@ h4 {
right: 28%;
}

.d-block {

}

.carousel-item img {
max-width: 100%;
height: auto;
Expand Down

0 comments on commit 5dc01a8

Please sign in to comment.