title: how could I display more than one if/else to one ID?
body: <p>say two of the if statements below are true, how could I make them write to the same tag at different times.</p>
  
  <pre><code>if (a===b) {
          document.getElementById("LW").innerHTML = "statement 1"
      }
  else  if (c===d) {
          document.getElementById("LW").innerHTML = "statement 2"
      }
  else  if (e===f) {
          document.getElementById("LW").innerHTML = "statement 3";
      }
  else {
          document.getElementById("LW").innerHTML = "";
      }
  </code></pre>
  
  <p>It would go to this</p>
  
  <pre><code>&lt;p id="LW"&gt;&lt;/p&gt;
  </code></pre>
  
  <p>for example, if two of the if statements were true, could it be possible to have one statement write to the p tag for 3 seconds, then display the next true statement? maybe a function or setTimer?</p>
  
  <p>i have tried many ideas and searched all over but I can't seem to figure this one out! any help would be great! thanks in advance, I can try to explain further if necessary!</p>