title: How do I add vertical lines between numbers using or without using javascript?
body: <p>I've created a timer to count down to a specific date, it displays with no problem.  But this time, I'd like to add vertical lines separating them.  I attempted to <code>borderLeft</code> and <code>height</code> to see a vertical line, but had no luck.  I do see the <code>1px solid</code> border, though.  The picture below illustrates what I want to see in the browser.</p>
  
  <p><a href="https://i.stack.imgur.com/5GCqi.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/5GCqi.png" alt="enter image description here"></a>  </p>
  
  <p>I also want the words (days, hours, minutes, seconds) to appear underneath the numbers.  Based on the picture, it appears directly next to them.  I attempted to use <code>\n</code> because I thought it would put the word in a new line, but that didn't work. </p>
  
  <p>Do we even need use javascript achieve these things?  What am I doing wrong and how can I fix it?</p>
  
  <p>Here's my js:</p>
  
  <pre><code>var timerDisplay = document.getElementById("timer");
      timerDisplay.innerHTML = days + "\ndays " + hours + "\nhours " + minutes + "\nminutes " + seconds + "\nseconds ";
      timerDisplay.style.border = "1px solid";
      timerDisplay.style.borderLeft = "6px solid"
      timerDisplay.style.height = "10px";
  </code></pre>
  
  <p>Here's my html:</p>
  
  <pre><code>&lt;p id="timer"&gt;&lt;/p&gt;
  </code></pre>