@Faress-MoHamedSubmitted about 1 year ago
RamssC
@RamssCRAll comments
- @RamssCRPosted about 1 year ago
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 helpful1