title: How to style and Array object in CSS
body: <p>how would I be able to take each array and style them differently in CSS NOT in JS ?</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>count = ['1','2','3','4'];
  container = document.getElementById('itemsContainer');
    for(i = 0; i &lt; count.length; i++){
      container.innerHTML+='&lt;div class="items"&gt;&lt;/div&gt;';
    }
  
  var square= document.getElementsByClassName('items')[2];
  square.style.backgroundColor='red';</code></pre>
  <pre class="snippet-code-css lang-css prettyprint-override"><code>.items{
    margin-top:10px;
    width:20px;
    height:20px;
    background:gold;</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div id="itemsContainer"&gt;&lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>