From abb71e3ae44863ab45c8b22d1b1ea2ef4d4e0c3d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?B=C3=A1rbara=20Rol=C3=B3n?= Date: Mon, 20 May 2024 10:45:34 -0500 Subject: [PATCH 1/7] Cambio a mi archivo html --- package-lock.json | 4 ++-- src/index.html | 20 ++++++++++++++++++++ src/index.js | 13 +++++++++++-- src/style.css | 41 +++++++++++++++++++++++++++++++++++++++++ 4 files changed, 74 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index ef1c093..b531843 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,11 +1,11 @@ { - "name": "card-validation", + "name": "text-analyzer", "version": "1.0.0", "lockfileVersion": 2, "requires": true, "packages": { "": { - "name": "card-validation", + "name": "text-analyzer", "version": "1.0.0", "license": "MIT", "devDependencies": { diff --git a/src/index.html b/src/index.html index 3f32ea9..70743de 100644 --- a/src/index.html +++ b/src/index.html @@ -9,5 +9,25 @@ +
+

Analizador de texto +

+ + + + + + + + \ No newline at end of file diff --git a/src/index.js b/src/index.js index 58ba255..c3fdc51 100644 --- a/src/index.js +++ b/src/index.js @@ -1,3 +1,12 @@ -import analyzer from './analyzer.js'; +const elemento = document.querySelector ("user-input"); + +console.log(elemento); + + +const element = document.gerElementById("reset-button"); + +console.log(element); + + +const element = document.getElementsByName("user-input") -//TODO: escuchar eventos del DOM e invocar los métodos del objeto `analyzer` \ No newline at end of file diff --git a/src/style.css b/src/style.css index e69de29..05d46d5 100644 --- a/src/style.css +++ b/src/style.css @@ -0,0 +1,41 @@ +li.one { + background-origin: content-box; + margin: 30px; + border: 1px solid blue; + padding: 10px; +} + +li.two { + background-origin: content-box; + margin: 30px; + border: 1px solid blue; + padding: 10px; +} + +li.three { + background-origin: content-box; + margin: 30px; + border: 1px solid blue; + padding: 10px; +} + +li.four { + background-origin: content-box; + margin: 30px; + border: 1px solid blue; + padding: 10px; +} + +li.five { + background-origin: content-box; + margin: 30px; + border: 1px solid blue; + padding: 10px; +} + +li.six { + background-origin: content-box; + margin: 30px; + border: 1px solid blue; + padding: 10px; +} \ No newline at end of file From afb5562bcff27f36a1f0dbc4aeac78f796702694 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?B=C3=A1rbara=20Rol=C3=B3n?= Date: Mon, 20 May 2024 22:46:15 -0500 Subject: [PATCH 2/7] boton de reset listo --- src/index.html | 2 +- src/index.js | 17 +++++++++++++---- 2 files changed, 14 insertions(+), 5 deletions(-) diff --git a/src/index.html b/src/index.html index 70743de..38e77d0 100644 --- a/src/index.html +++ b/src/index.html @@ -17,7 +17,7 @@ -