Skip to content

Commit 37e1814

Browse files
committed
Error visual + comentarios
1 parent fbc0470 commit 37e1814

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<title>Cotizaciones del Dolar</title>
77

88
<link rel="stylesheet" href="./css/styles.css">
9-
//favicon
9+
<!--favicon-->
1010
<link rel="preconnect" href="https://fonts.googleapis.com">
1111
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
1212
<link href="https://fonts.googleapis.com/css2?family=Roboto&family=Ubuntu&display=swap" rel="stylesheet">

js/cotizaciones.js

+8
Original file line numberDiff line numberDiff line change
@@ -182,4 +182,12 @@ const errorParagraphs = document.querySelectorAll('.error-message');
182182
});
183183
});
184184

185+
/*Añadir nuevo error:
186+
187+
"Ingrese un valor a convertir primero"
188+
189+
para que aparezca cuando el usuario ejecuta btnExchange
190+
sin antes haber puesto un valor en los inputs*/
191+
192+
/*Añadir la capacidad de sacar la clase 'boton-seleccionado' en caso de ya estar presente en dicho boton*/
185193

0 commit comments

Comments
 (0)