The first example did not use the style from the rest of the guide

Andy Bonventre 2023-09-14 18:01:35 -04:00
parent 2696ffdb4f
commit c3a904a85b

@ -13,7 +13,7 @@ syntax: `js-<targetName>`
JavaScript-specific classes reduce the risk that changing the structure or theme of components will inadvertently affect any required JavaScript behavior and complex functionality. You must use these classes if you interact with the DOM via JavaScript. In practice this looks like this:
```
<a href="/login" class="btn btn-primary js-login"></a>
<a href="/login" class="Button Button--primary js-login"></a>
```
Again, JavaScript-specific classes should not, under any circumstances, be styled.