After struggling for four days, I'm having trouble getting this menu to work properly. Any help would be greatly appreciated.
When I try clicking on the hamburger menu, it doesn't rotate or do anything at all.
The most puzzling part is...
On my local Xampp server, the hamburger menu fails to rotate as expected.
However, in the codepen test block, the hamburger menu does rotate.
The browsers I tested this behavior on include: Chrome - Firefox - Brave
You can find the online version on codepen here:
(https://codepen.io/paulodoporto/pen/WNyOEVR)
Could you please point out what I might be doing wrong?
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Mr.Buildbox</title>
</head>
<body>
<header class="sticky-top">
<div class="logo">
<a href="#"><img src="https://localhost/mrbuildbox/buildboxdesafio/assets/images/catdog2.png" alt="" class="responsive-image"></a>
</div>
<div class="container">
<input type="checkbox" class="toggle-menu"& gt;
<div class="hamburger"></div>
<div class="menu-top-menu-container">
<ul id="menu-top-menu" class="navigation-class">
<li id="menu-item-15" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-home current-menu-item page_item page-item-2 current_page_item menu-item-15"><a href="https://localhost/mrbuildbox/" aria-current="page">IPB Instituto</a></li>
<li id="menu-item-16" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-16">& lt;a href="https://localhost/mrbuildbox/create-page-test/">quem somos</a></li>
<li id="menu-item-17" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-17"><a href="https://localhost/mrbuildbox/faleconosco/">fale conosco</ a></li>
<li id="menu-item-28" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-28"><a href="https://localhost/mrbuildbox/category/blog/">blog</a></li>
</ul>
</div>
</div>
</header>
{And this is the CSS file}
/* CSS styles go here */