my code is located below
I'm specifically focusing on the mobile view of the website. Please resize your screen until you see the layout that I'm referring to.
I suspect there might be an issue with my JavaScript code, and I've spent the last 3 hours trying to pinpoint the problem.
Here is the code snippet:
const wrapperSlide = () => {
const burger = document.querySelector(".burger");
const wrapper = document.querySelector(".wrapper");
burger.addEventListener("click", () => {
wrapper.classList.toggle("wrapper-active");
burger.classList.toggle("toggle");
});
}
wrapperSlide();
You can find the CSS code for the respective sections in the snippet below:
/* top side with the logo and info */
... (CSS code continues)
If you need more context, feel free to ask!