title: javascript change font size
body: <p>Good day to all,
  Sorry if you find this question dumb. Can anyone please help me on how to change the font of the printed output? They said .style.fontSize but I don't know to how use it in that code. Any help would be much appreciated. Thanks!    </p>
  
  <pre><code>&lt;html&gt;
  &lt;body&gt;
  &lt;div id="display-date"&gt;
          &lt;script language="javascript"&gt; 
          today = new Date();
          var month = ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"];
          var day = ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"];
          var yr = today.getYear();
  
  
          if(yr &lt; 1900) yr += 1900;
          document.write(today.getDate() + " " + month[today.getMonth()] + " " + yr);
          &lt;/script&gt;
  &lt;/div&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>