diff --git a/modulos/slider/css/estiloh.css b/modulos/slider/css/estiloh.css
index f02f3cc..2c3ca43 100644
--- a/modulos/slider/css/estiloh.css
+++ b/modulos/slider/css/estiloh.css
@@ -3,7 +3,7 @@ div .carrusel{
}
.imag{
- width: 90%;
+ width: 100%;
height: 300px!important;
- margin: auto;
+
}
diff --git a/modulos/slider/index.html b/modulos/slider/index.html
index e3a0a6f..3befa1f 100644
--- a/modulos/slider/index.html
+++ b/modulos/slider/index.html
@@ -6,6 +6,7 @@
+
@@ -22,6 +23,7 @@
+
@@ -45,8 +47,18 @@
for (var i = 0; i < res.length; i++)
{
console.log(res[i].url);
+ console.log(res[i].id);
+ const app = document.getElementById('imgh');
+ const logo = document.createElement('img');
+ logo.src = (res[i].url);
+ // const imgh = document.createElement('div');
+ imgh.setAttribute('class', 'imag');
+ // imgh.setAttribute('class', 'imag');
+ // imgh.setAttribute("width", "100%");
+ // imgh.setAttribute("height", "300px");
+ app.appendChild(logo);
+ // app.appendChild(imgh);
}
-