FARES MOHAMED• 180
@Faress-MoHamed
Submitted
@RamssCR
@Faress-MoHamed
Submitted
@RamssCR
Posted
After typing the email and clicking the button, I see the email used as example but not the one I typed. A good solution for that would be:
const input = document.querySelector(".input")
const placeWhereTheEmailGoes = document.querySelector(".place")
/* code */
1. placeWhereTheEmailGoes.textContent = input.value
2. placeWhereTheEmailGoes.innerHTML = input.value
3. placeWhereTheEmailGoes.innerText = input.value
Hope it works, nice job, tho.
Marked as helpful