title: Change background color dynamically with JavaScript
body: <p>In my css a background-color is defined set as white, but I want to change color dynamically body of page.</p>
  
  <p>How do you do that? my CSS file:</p>
  
  <pre><code>body {
      color: #333;
      background-color: #FFF;
  }
  </code></pre>
  
  <p>my javascript  code :</p>
  
  <pre><code>function init() 
  {
      document.body.style.zoom="90%";
      document.body.color="white";
  }
  </code></pre>
  
  <p>Thank you.</p>