title: How to access element via dataset attribute directly
body: <p>Assuming I have following mark up:</p>
  
  <pre><code>&lt;div id="Movie" data-genre="horror"&gt;The Hills Have Eyes&lt;/div&gt;
  </code></pre>
  
  <p>I know that I can access that element´s dataset attributes using:</p>
  
  <pre><code>document.getElementById("Movie").dataset.genre
  </code></pre>
  
  <p>or</p>
  
  <pre><code>document.getElementById("Movie").getAttribute("data-genre")
  </code></pre>
  
  <p>But is there a way to get all elements with the same genre without using any other feature? I am thinking about something like that:</p>
  
  <pre><code>document.getElementsByDataSetKey(key)
  </code></pre>