title: Im trying to select a div element by class AND title
body: <p>I seen how to select a <code>div</code> element by <code>title</code> or by <code>class</code> only, but I am trying to select an element using both.</p>
  
  <p>I tried putting it in a format like below and it did not work. Any help will be greatly appreciated!</p>
  
  <pre><code>document.querySelector(‘div.myClass [title=“CoolTitleYeah”]’);
  </code></pre>