How would I setup a HTML page to have a new title each new day? : <p>So my ultimate goal here is to have the site have a new title each day (24 hours).</p>

<p>I am not a very experienced program, but, I am aware something similar could be done with JS.</p>

<p>I saw this idea:</p>

<pre><code>setInterval(function() {
    //change title
    //document.title = "Some new title";
}, 3000);
</code></pre>

<p>I'm not sure how I can take this idea above, which I do not fully understand and make it use, for example, a large array or predefined titles and select one at random each day.</p>

<p>Would it be possible to select the title out of another file or should I have them all in the JS file?  On the question just asked, should I have the JS code in the HTML file itself or referenced as a file like a CSS file?</p>

<p>I really appreciate any walkthrough/help I can get on this.  I hope your days are well all.</p>
