As a newcomer to web development, I decided to challenge myself by building an E-Commerce website to enhance my skills. To ensure mobile responsiveness, I opted for a hamburger menu to hide the navbar content. However, despite resizing working flawlessly, clicking the menu icon does not reveal the dropdown, even though the display-block property is in place. Can someone help me pinpoint where I might be going wrong?
CSS/HTML:
* {
margin : 0;
padding : 0;
box-sizing: border-box;
position: relative;
}
... (CSS code continues)
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
... (HTML code continues)