From 747c8efd26a60b8e361a78d274bd97a7443ecc4f Mon Sep 17 00:00:00 2001 From: Valentina Parada Date: Mon, 30 Sep 2024 11:44:10 -0500 Subject: [PATCH] commit --- app/index.html | 9 +-------- app/scripts.js | 4 ++-- login/index.html | 5 ++++- login/styles.css | 6 ++++++ styles.css | 2 +- 5 files changed, 14 insertions(+), 12 deletions(-) diff --git a/app/index.html b/app/index.html index aebe24b..989c8aa 100644 --- a/app/index.html +++ b/app/index.html @@ -19,18 +19,11 @@

Shop Online

-
-

Product List

- -
-
diff --git a/app/scripts.js b/app/scripts.js index 0dccb94..e7b6d3d 100644 --- a/app/scripts.js +++ b/app/scripts.js @@ -61,10 +61,10 @@ function showNotification(message) { goToCartBtn.addEventListener('click', () => { alert('Vas al carrito con ' + cart.length + ' productos.'); - window.location.href = 'carrito/index.html'; + window.location.href = "carrito/index.html"; }); logoutBtn.addEventListener('click', () => { alert('Has cerrado sesiĆ³n.'); - window.location.href='../login/index.html'; + window.location.href= "../login/index.html"; }); diff --git a/login/index.html b/login/index.html index a5e93fd..861cbcf 100644 --- a/login/index.html +++ b/login/index.html @@ -22,7 +22,10 @@ - Register +
+ Register +
+
diff --git a/login/styles.css b/login/styles.css index fd09ffc..05fafce 100644 --- a/login/styles.css +++ b/login/styles.css @@ -16,4 +16,10 @@ .login__submit { margin-top: 1rem; width: 100%; +} + +.flex-container { + display: flex; + justify-content: center; + align-items: center; } \ No newline at end of file diff --git a/styles.css b/styles.css index 3ba92eb..0eab7e9 100644 --- a/styles.css +++ b/styles.css @@ -63,7 +63,7 @@ * { margin: 0; - padding: 0; + padding: 10px; box-sizing: border-box; }