title: jquery Conditional Selector with multiple attributes
body: <p>I am trying to do something like this:</p>
  <pre><code>&lt;script&gt;
  
  jQuery(document).ready(function($) {
      if (class=&quot;wmc-currency wmc-active&quot; &amp;&amp; data-currency=&quot;USD&quot;){
          $('.far.fa-credit-card').hide()
  }
  });
  
  &lt;/script&gt;
  </code></pre>
  <p>I would like to <code>display: none</code> or <code>hide()</code> CSS class <code>.far.fa-credit-card</code> when <code>&lt;div class=&quot;wmc-currency wmc-active&quot; data-currency=&quot;USD&quot;&gt;</code></p>