title: How to dynamically change the style tag using JavaScript?
body: <p>I want to change the style tag after generating contents.
  How can I add style to the style tag?
  I tried using: </p>
  
  <pre><code>document.getElementById('style').appendChild(styleContents);
  </code></pre>
  
  <p>but it did not work</p>