4242 }
4343
4444 button {
45- background : # 1f4fb8 ;
45+ background : # 1c8a3a ;
4646 color : # ffffff ;
4747 border : none;
4848 border-radius : 999px ;
5454
5555 button : hover {
5656 transform : translateY (-2px );
57- box-shadow : 0 10px 20px rgba (31 , 79 , 184 , 0.25 );
57+ box-shadow : 0 10px 20px rgba (28 , 138 , 58 , 0.25 );
5858 }
5959
6060 # mensaje {
6363 font-weight : 600 ;
6464 min-height : 24px ;
6565 }
66+
67+ .cat-grid {
68+ margin-top : 24px ;
69+ display : grid;
70+ grid-template-columns : repeat (auto-fit, minmax (160px , 1fr ));
71+ gap : 12px ;
72+ }
73+
74+ .cat-card {
75+ margin : 0 ;
76+ }
77+
78+ .cat-card img {
79+ width : 100% ;
80+ height : 140px ;
81+ object-fit : cover;
82+ border-radius : 16px ;
83+ box-shadow : 0 8px 18px rgba (30 , 40 , 60 , 0.15 );
84+ }
6685 </ style >
6786 </ head >
6887 < body >
@@ -71,14 +90,25 @@ <h1>Humanos ¿Opcionales?</h1>
7190 < p > Demo del workshop sobre programar en tiempos de IA y automatizaciones.</ p >
7291 < button id ="boton-hola " type ="button "> Hola</ button >
7392 < div id ="mensaje " aria-live ="polite "> </ div >
93+ < div class ="cat-grid " aria-label ="Galeria de gatitos ">
94+ < figure class ="cat-card ">
95+ < img src ="images/cat-1.svg " alt ="Gatito curioso mirando a la camara ">
96+ </ figure >
97+ < figure class ="cat-card ">
98+ < img src ="images/cat-2.svg " alt ="Gatito descansando con luz suave ">
99+ </ figure >
100+ < figure class ="cat-card ">
101+ < img src ="images/cat-3.svg " alt ="Gatito atigrado en primer plano ">
102+ </ figure >
103+ </ div >
74104 </ main >
75105
76106 < script >
77107 const botonHola = document . getElementById ( "boton-hola" ) ;
78108 const mensaje = document . getElementById ( "mensaje" ) ;
79109
80110 botonHola . addEventListener ( "click" , ( ) => {
81- mensaje . textContent = "Hola mundo! " ;
111+ mensaje . textContent = "Saludos a los asistentes del taller " ;
82112 } ) ;
83113 </ script >
84114 </ body >
0 commit comments