title: Change div height on button click
body: <p>What I do wrong? Why div height didn't change?</p>
  
  <pre><code>&lt;html&gt;
    &lt;head&gt;    
    &lt;/head&gt;
  
  &lt;body &gt;
      &lt;button type="button" onClick = "document.getElementById('chartdiv').style.height = 200px"&gt;Click Me!&lt;/button&gt;
      &lt;div id="chartdiv" style="width: 100%; height: 50px; background-color:#E8EDF2"&gt;&lt;/div&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>