 <p>Change</p> <pre><code>&lt;div id="dateBox"&gt; Today Beer Style is: &lt;script&gt; document.getElementById("dateBox").innerHTML=style[new Date().getUTCDate()]; &lt;/script&gt; &lt;/div&gt; </code></pre> <p>to:</p> <pre><code>&lt;div id="dateBox"&gt; Today Beer Style is: &lt;span id="beerStyle"&gt;&lt;/span&gt; &lt;script&gt; document.getElementById("beerStyle").innerHTML=style[new Date().getUTCDate()]; &lt;/script&gt; &lt;/div&gt; </code></pre>