title: How can i simplify this? (noob here)
body: <p>i got this very long block and i think that it can be simplify but i dont know how to do it</p>
  
  <pre><code>const one = document.getElementById("one");
  const two = document.getElementById("two");
  const three = document.getElementById("three");
  const four = document.getElementById("four");
  
  one.onclick = () =&gt; {
    one.innerHTML = "";
  };
  two.onclick = () =&gt; {
    two.innerHTML = "";
  };
  three.onclick = () =&gt; {
    three.innerHTML = "";
  };
  four.onclick = () =&gt; {
  four.innerHTML = "";
  };
  
  </code></pre>