From 03b3250ea3f1314957a53a0d4bccd7918c66e266 Mon Sep 17 00:00:00 2001 From: Jeremie Bornais Date: Sat, 9 Nov 2024 14:47:45 +0000 Subject: [PATCH] fix mobile styling, update exchange rates --- currency/index.html | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/currency/index.html b/currency/index.html index a6170ab..947aec9 100644 --- a/currency/index.html +++ b/currency/index.html @@ -24,12 +24,15 @@ font-family: Arial, sans-serif; } + div.inputcontainer { + width: 100%; + max-width: 458px; + } + input[type="text"] { padding: 0.5rem; margin: 10px; font-size: 1.5rem; - width: 100%; - max-width: 500px; border: none; border-radius: 0.25rem; background-color: #e0e0e0; @@ -60,15 +63,15 @@

Currency Converter

-
+
-
+
-
+
@@ -86,8 +89,8 @@

Currency Converter

const currencies = { "cad": 1.0, - "usd": 0.72, - "dop": 43.46, + "usd": 0.7188, + "dop": 43.4613, }; const cad = document.getElementById("cad");