I've written some code that creates a hamburger icon on mobile devices. When the user clicks it, a wave effect covers the screen, but I'm facing an issue where the wave doesn't cover the input field.
My query is: how can I make the input field disappear under the wave effect?
Below is the HTML content:
<head>
<meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
... (HTML content continues) ...
Here's the corresponding CSS code:
* {
margin: 0;
padding: 0;
... (CSS content continues) ...
And finally, here's the JavaScript snippet:
const hamburger = document.querySelector(".hamburger");
const navLinks = document.querySelector(".nav-links");
... (JavaScript code continues) ...