From ae95588c455166cc53273a9707fc25d1fd0329f8 Mon Sep 17 00:00:00 2001 From: mikel Date: Thu, 1 Feb 2024 12:47:10 +0100 Subject: [PATCH] s --- CSS/main.css | 2 +- JS/index.js | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CSS/main.css b/CSS/main.css index 10a7f3a..81fdc58 100644 --- a/CSS/main.css +++ b/CSS/main.css @@ -1022,7 +1022,7 @@ button.boton-enviar-form { -@media only screen and (min-width:300px) and (max-width:480px){ +@media only screen and (min-width:300px) and (max-width:600px){ diff --git a/JS/index.js b/JS/index.js index 00ac3fe..7cb2571 100644 --- a/JS/index.js +++ b/JS/index.js @@ -282,6 +282,8 @@ const cargado = () => { let elCarrito = document.getElementById("carrito"); elCarrito.textContent = ""; cestaCompra = []; + let elPrecioTotal = document.getElementById("total"); + elPrecioTotal = 0; } function leerCesta() {