Skip to content

Commit

Permalink
anadimos eventListeners
Browse files Browse the repository at this point in the history
  • Loading branch information
Kuro-98 committed Apr 24, 2024
1 parent e9b5679 commit 4abc08c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ document.addEventListener('DOMContentLoaded', () => {
//seleccionar los elementos de la interfaz
const inputEmail = document.querySelector('#email');
const inputAsunto = document.querySelector('#asunto');
const inputMensaje = document.querySelector('#mensaje');

console.log(inputAsunto);
//asignar eventos
inputEmail.addEventListener('blur', function (e) {
console.log(e.target.value);
});
});

0 comments on commit 4abc08c

Please sign in to comment.