Skip to content

Commit

Permalink
Actualiza botones y variables en script.js
Browse files Browse the repository at this point in the history
  • Loading branch information
SergioZF09 authored Aug 14, 2024
1 parent 10cc297 commit 1bcc67c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion js/script.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
const texto = document.getElementById("texto");
const nuevoTexto = document.getElementById("nuevoTexto");
const apartado = document.getElementById("apartado");
const imagenParrafos = document.getElementById("imagenParrafos");
const btnCopiar = document.querySelector("#copiar");
const btnEncriptar = document.querySelector("#encriptar");
const btnDesencriptar = document.querySelector("#desencriptar");
Expand Down Expand Up @@ -38,7 +39,7 @@ function validarTexto(info) {
//Función para eliminar imagen y párrafos
function modificarDisenio() {
//Elimina la imagen
document.getElementById("imagenParrafos").style.display = "none";
imagenParrafos.style.display = "none";
//Da altura al elemento apartado
apartado.style.height = "80%";
//Da altura al elemento nuevoTexto
Expand Down

0 comments on commit 1bcc67c

Please sign in to comment.