I am attempting to keep user input from one page to another. Simplified, what I want to do is as follows:
PAGE 1:
var userInput = prompt("What is your name");
Page 2:
document.getElementById("userName").innerHTML = userInput;
The user enters their name, and clicks a link to the next page, where their name is displayed. I cannot figure out a good way to keep the data from one page to another. (I do not know how to store data using cookies).