title: JavaScript: Select an element to a div and update styling
body: <p>I need to add styling to a DIV element using JavaScript. I have the following DIV in my document:</p>
  
  <pre><code>&lt;div class="RnEpo Yx5HN   " role="presentation"&gt;
  </code></pre>
  
  <p>The script that I have tried is:</p>
  
  <pre><code>WebElement = document.querySelectorAll("div[class='RnEpo Yx5HN ']");
  WebElement.style='height: 10000px;'
  WebElement.setAttribute("height = 1000px;");
  </code></pre>
  
  <p>I want to achieve the same styling as this CSS:</p>
  
  <pre><code>.RnEpo Yx5HN   
  {
      height: 100000px;
  }
  </code></pre>