title: Javascript not changing css
body: <pre><code>    &lt;!DOCTYPE html&gt;
  &lt;html&gt;
  &lt;head&gt;
      &lt;title&gt;&lt;/title&gt;
      &lt;style type="text/css"&gt;
          #b {
              display: none;
          }
      &lt;/style&gt;
      &lt;script type="text/javascript"&gt;
          document.getElementById("b").style.display = block;
      &lt;/script&gt;
  &lt;/head&gt;
  &lt;body&gt;
      &lt;h1 id="b"&gt;Hello&lt;/h1&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>Does anyone know what I'm doing wrong here? Shouldn't the CSS be changed by the javascript and display <code>Hello</code>. Thanks for any help!</p>