Levi Ribeiro• 140
@ribeiroLevi
Submitted
This was the first time that i aplied some js to a project and i coudn't figure out how do change the email in the second screen, can any one help me?
@myj009
@ribeiroLevi
Submitted
This was the first time that i aplied some js to a project and i coudn't figure out how do change the email in the second screen, can any one help me?
@myj009
Posted
If you are using just js, CSS, HTML without any framework, you can do something like
const inputField = document.getElementById("email");
const userEmailSpan = document.getElementById("user-email");
userEmailSpan.innerText = inputField.value;
Hope this helps