title: Javascript error [object HTMLParagraphElement]
body: <p>I`m begginer in Javascript and I need some help.
  So, I need that, when I push the button, paragraph "leftside" appear</p>
  
  <pre><code>&lt;div id="content"&gt;
          &lt;script&gt;
              function myFunction() {
                  document.getElementById("contentp").innerHTML = leftside;
                  var x = document.getElementById("leftside")
                  x.style.display = "normal";
              }
  
  
          &lt;/script&gt;
          &lt;button id="buttonI" type="button" onclick="myFunction()"&gt;Show left side!&lt;/button&gt;
  
          &lt;p id="leftside" style="display: none"&gt;Left side&lt;/p&gt;
  
          &lt;p id="contentp"&gt;&lt;/p&gt;
  </code></pre>