Skip to content

Commit

Permalink
Fix navigation
Browse files Browse the repository at this point in the history
  • Loading branch information
TrixDiaz committed Jan 18, 2024
1 parent 7c303bc commit 91df996
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ <h2><strong>TRIX</strong></h2>
</div>
<div class="menu">
<i class="bi bi-brightness-high mode" id="icon"></i>
<i class="bi bi-list-nested " id="toggle-menu"></i>
<i class="bi bi-list-nested" id="toggle-menu"></i>
</div>
</div>
<div class="toggle-menu" id="toggle-nav">
<ul>
<li><a href="#home" class="active">Homes</a></li>
<li><a href="#home" class="active">Home</a></li>
<li><a href="#about">About</a></li>
<li><a href="#project">Projects</a></li>
<li><a href="#contact">Contact</a></li>
Expand Down
1 change: 0 additions & 1 deletion script.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ const mode = () => {
// Toggle the 'light-mode' class on the body element
const body = document.body;
const changeIcon = document.getElementById("icon");
const menuChangeIcon = document.getElementById("menu-icon");
body.classList.toggle("light-mode");

const isLightMode = body.classList.contains("light-mode");
Expand Down

0 comments on commit 91df996

Please sign in to comment.