whenever i write a variable it shows me an error message, I’ll like some assistance on regards of this.
enter image description here
nombre = prompt("Por favor ingrese su nombre: "); edad = parseInt(prompt("Por favor ingrese su edad: "));
apellido = prompt("Por favor ingrese su apellido: "); console.log(nombre + " " + apellido + " " + edad); else
This are parts of my code that show me the error.
When i run it in the online compiler it runs alright, even thought it still shows the error message.
I’m kinda new into programing and I’ll appreciate any suggestions on fixing this error and to improve.
Thanks.
Lunam Arca is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.