Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
nandojmj authored Feb 22, 2024
1 parent d405f1d commit ca04e56
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion app.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ function copiarPortapapeles(e) {
e.preventDefault();
let textoResultado = document.getElementById("textoResultado").textContent;
if (!textoResultado) {
alert("Por favor, ingresa un texto para encriptar o desencriptar.");
alert("Ningun mensaje fue encontrado.Por favor, ingresa un texto para encriptar o desencriptar.");
return;
}
navigator.clipboard.writeText(textoResultado);
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ <h1><img src="imagenes/logo_alura_1.png" class="imagen-encabezado">Encriptador d
</div>

<div>
<textarea placeholder="Resultado" id="textoResultado"></textarea>
<textarea placeholder="Ningun mensaje fue encontrado" id="textoResultado"></textarea>
<div class="boton-copiar">
<input type="button" class="botones" id="copiarPortapapeles"value="Copiar">
</div>
Expand Down
6 changes: 2 additions & 4 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -50,16 +50,14 @@ main{
textarea{
width: 100%;
border: none;
height: 180px;
/*height: 180px;*/
padding: 16px;
background-color: #597b7a;
color: #FFFFFF;
border-radius: 16px;
font-size: 16px;
/*background-color: #597b7a;*/
background: url(imagenes/bg1.jpg);
/*box-shadow: inset -2px 8px 9px 1px rgba(30,47,47,0.65);*/


}

textarea::placeholder{
Expand Down

0 comments on commit ca04e56

Please sign in to comment.