I am looking to create a button that will open a modal window displaying a message. However, when I tried to add a label and viewed the page, the desired window appeared on top of the rest of the content. But unfortunately, clicking the button did not produce any action.
<!DOCTYPE html>
<html lang="es">
<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>CarpiShop</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="a7c5c8c8d3d4d3d5c6d78acec4c8c9d4e796899e8996">[email protected]</a>/font/bootstrap-icons.css">
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/toastify-js/src/toastify.min.css">
<link rel="stylesheet" href="./styles/index.css">
</head>
<body>
<div class="wrapper">
<header class="header-mobile">
<h1 class="logo"> </h1>
<button class="open-menu" id="open-menu">
<i class="bi bi-list"></i>
</button>
</header>
<aside>
<button class="close-menu" id="close-menu">
<i class="bi bi-x"></i>
</button>
<header>
<div class="user">
<i class="bi bi-person-circle"></i>
</div>
<h1 class="logo"> <input class="busqueda-productos" type="text" placeholder="¿ que estas buscando? "></h1>
</header>
<nav>
<ul class="menu">
<li class="">
<div class="btn">
<i class="bi bi-search"></i>
</div>
</li>
<li>
<button id="todos los productos" class="boton-menu boton-categoria active"><i class="bi bi-hand-index-thumb-fill"></i> Todos los productos</button>
</li>
<div>
<div id="filtros" class="boton-menu boton-categoria"></i></div>
<label for="filtros">
<i class="bi bi-hand-index-thumb"></i> filtros
</label>
<div>
<input type="checkbox" id="nose">
<div class="container-filtros">
<div class="contenido-filtros">
<h4>desde</h4><input type="number" step="0.01"><h4>hasta</h4><input type="number" step="0.01" min="0" max="1.000.000.000.000">
<div class="ubicacion">
<i class="bi bi-geo-alt-fill">ubicacion</i>
</div>
<div class="cerrar">
<label for="filtros"></label>
<i class="bi bi-backspace-fill"></i>
</div>
</div>
</div>
<button id="vender" class="boton-menu boton-categoria"><i class="bi bi-hand-index-thumb"></i>¿quiere vender algo?</button>
</li>
<li>
<button id="p.q.r.s" class="boton-menu boton-categoria"><i class="bi bi-hand-index-thumb"></i> P.Q.R.S</button>
</li>
<li>
<a class="boton-menu boton-carrito" href="./carrito.html">
<i class="bi bi-cart-fill"></i> Carrito <span id="numerito" class="numerito">0</span>
</a>
</li>
</ul>
</nav>
<footer>
<p class="texto-footer">© hecho por biombrock</p>
</footer>
</aside>
<main>
<h2 class="titulo-principal" id="titulo-principal">Todos los productos</h2>
<div id="contenedor-productos" class="contenedor-productos">
</div>
</main>
</div>
</body>
</html>
Could you please provide guidance on modifying the question and integrating the label correctly? Any assistance would be greatly appreciated!