Skip to content

Commit

Permalink
Update script.js
Browse files Browse the repository at this point in the history
  • Loading branch information
YuDiCC authored Mar 28, 2024
1 parent b8dd8c4 commit b49252d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions script.js
Original file line number Diff line number Diff line change
@@ -10,15 +10,13 @@ const matrizCodigo = [
["a", "ai"],
["o", "ober"],
["u", "ufat"],
["ñ", "nyux"]
];

// 'La letra "e" es convertida para "enter"'
// 'La letra "i" es convertida para "imes"'
// 'La letra "a" es convertida para "ai"'
// 'La letra "o" es convertida para "ober"'
// 'La letra "u" es convertida para "ufat"'
// 'La letra "ñ" es convertida para "nyux"'

function tieneCaracteresEsp(texto) {
const regex = /^[a-z\sñ]+$/;
@@ -95,4 +93,4 @@ function mostrarNotificacion() {
setTimeout(function () {
notification.classList.remove("active");
}, 3000);
}
}

0 comments on commit b49252d

Please sign in to comment.