title: I can't change permanently the background color of a simple html page using javascript
body: <p>when I click in the button the backgrounf color of the change but after one seconde it disappear</p>
  <h1>this is the code</h1>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
      &lt;head&gt;
          &lt;title&gt;ex7&lt;/title&gt;
          &lt;meta charset="utf-8"&gt; 
          &lt;script&gt;
              function changerCouleur() {
                  document.bgColor= "#FFFggF";
              }
          &lt;/script&gt;
      &lt;/head&gt;
      &lt;body&gt;
        &lt;form&gt;
            couleur  &lt;input type="text" &gt; &lt;br&gt;
            &lt;button onclick="changerCouleur()"&gt;changer couleur &lt;/button&gt;
        &lt;/form&gt;
      &lt;/body&gt;
  &lt;/html&gt;</code></pre>
  </div>
  </div>
  </p>