Skip to content

Commit

Permalink
correccion boton copiar
Browse files Browse the repository at this point in the history
  • Loading branch information
coxmau77 committed Feb 1, 2024
1 parent 9323ab7 commit 7f9e390
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
8 changes: 5 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
</head>

<body class="dark-theme">
<!-- <body> -->
<!-- <body> -->
<header>
<div class="logo">
<h1>txt</h1>
Expand Down Expand Up @@ -69,10 +69,12 @@ <h2>Mensaje encriptado</h2>
<footer>
<small>&copy; Copyright - 2024 | Mauricio Cox</small>
<div class="social">
<a href="https://github.com/coxmau77" target="_blank" rel="noopener noreferrer" title="Visitar perfil en GitHub">
<a href="https://github.com/coxmau77" target="_blank" rel="noopener noreferrer"
title="Visitar perfil en GitHub">
<i class="bi bi-github"></i>
</a>
<a href="https://www.linkedin.com/in/coxmau77/" target="_blank" rel="noopener noreferrer" title="Visitar perfil en Linkedin">
<a href="https://www.linkedin.com/in/coxmau77/" target="_blank" rel="noopener noreferrer"
title="Visitar perfil en Linkedin">
<i class="bi bi-linkedin"></i>
</a>
</div>
Expand Down
3 changes: 1 addition & 2 deletions js/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,12 @@ btnEncript.addEventListener("click", function(event) {

btnDecript.addEventListener('click', function(event){
event.preventDefault();
console.log('click en desencriptar +>++'+decryptText(encryptedMessage.textContent))
console.log('click en desencriptar: '+decryptText(encryptedMessage.textContent))
encryptedMessage.innerText = decryptText(encryptedMessage.textContent);
form.reset()
});

btnCopy.addEventListener('click', function() {

copyTextContent();
});

Expand Down

0 comments on commit 7f9e390

Please sign in to comment.