@azzykesuma
Posted
congratulations on completing the challenge! you can use localstorage to set the email for the purpose of this challenge https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage then, get the localstorage value, and inject it into DOM
but in the real job scenario, i think you need to store it in some sort of database
Marked as helpful
@ally-glenday
Posted
@azzykesuma
Hey Azzy, thanks so much for your comment! I actually tried using the local storage method, but for some reason I still can't get it to show the HTML! :(
I can console.log the user's email with local storage, but when I try to add this to the DOM, it won't load and says the function is 'null' :/