How should I make input permanent? Like for example, if I type in "Hello world" it should say "hello world " and "hello world" should be there even after reloading
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <p id="content"></p>
    <input type="text" id="userInput">
    <script>
        function getInputFromTextBox() {
    let input = document.getElementById("userInput").value;
document.getElementById("content").innerHTML = input;
     
}
    </script>
 
    <button onclick="getInputFromTextBox()">submit</button>
</body>
</html> 
     
    