title: Get next element with specific class of clicked element with pure js
body: <p>I am trying to get the the first element with a specific class which follow the element clicked with pure JS (no JQuery) in the following way but get el.nextSibling is not a function error. Initially I was using JQuery parents().next() but would like to do this with pure 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>const togglers = document.querySelectorAll('.toggler');
  //console.log(togglers);
  togglers.forEach(function(el) {
    el.addEventListener('click', function(e) {
      //const content = el.innerHTML;
      //console.log(content);
      el.nextSibling('.folder-content').style.display = 'block';
    })
  });</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="folder"&gt;
    &lt;div class="toggler"&gt;Click me 1&lt;/div&gt;
    &lt;div class="folder-content" style="display: none"&gt;
      Lorem ipsum
    &lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="folder"&gt;
    &lt;div class="toggler"&gt;Click me 2&lt;/div&gt;
    &lt;div class="folder-content" style="display: none"&gt;
      Lorem ipsum
    &lt;/div&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>Any help would be appreciated :)</p>