@Jayslen
Posted
Try to do this in the eventListener function of the button localStorage.setItem('user-email', JSON.stringify(inputValue)) with this line the email would save into the local storage in the inputValue you gonna put the value of the input element. And for read the data in the localStorage you could do this: const email : JSON.parse(localStorage.getItem('user-email')) So the email const woul have the email and then in the paragrah that is in the succes page you could change the text with textContent and put the email.
I hope this help you if not you could tell me your discord and i can help you
Marked as helpful
@Ben-Ricketts
Posted
@Jayslen hey man,
my discord is benske#2173. if you could help me a bit with this thatd be so awesome. cheers
@Jayslen
Posted
@Benske4 i will add you to discord