title: How to hide Button in Javascript?
body: <p>I'm trying to make a button that shows text and another that removes it, this is what I have done so far.</p>
  
  <p>When i click the Click me! button text shows, but it won't disappear when i click the hide button and i don't know why. 
  <div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>&lt;div class="butt"&gt;
  &lt;button type="button" onclick="myFunction()"&gt;Click Me!&lt;/button&gt;
  &lt;button type="button" onclick="myFunctionHide"&gt;Hide&lt;/button&gt;
  &lt;/div&gt;
  &lt;p id="test"&gt;&lt;/p&gt;
  
  &lt;script = "text/javascript"&gt;
  function myFunction() {
  document.getElementById("test").innerHTML = "Andyduly";
  }
  &lt;/script&gt;
  &lt;script = "text/javascript"&gt;
  function myFunctionHide {
  document.getElementById("test").innerHTML.object.style.display == "none";
  }
  
  &lt;/script&gt;</code></pre>
  </div>
  </div>
  </p>