How to access your attribute?

Hello. Tell me how to access the attribute fa="3" and give it a class, for example, the "none"?
<div class="action add-btn-block an">
 <div class="btn-an" fa="1">Sell</div>
 <div class="btn-an" fa="2">Purchase</div>
 <div class="btn-an" fa="3">Pass</div>
 <div class="btn-an" fa="4">to Rent</div>
 </div>


I tried to do $('fa="3"') — it does not plow.
August 19th 19 at 22:51
1 answer
August 19th 19 at 22:53
Solution
$('[fa=3]')
love you) - gustave_Kertzmann52 commented on August 19th 19 at 22:56

Find more questions by tags JavaScriptjQuery