If existing code has an attached js behavior on id element - should I create a new prefix class and attach the behavior to it? Eg. <a id="modal">Click me!</a> Would be <a id="modal" class="js-id-modal">Click me!</a>
If existing code has an attached js behavior on id element - should I create a new prefix class and attach the behavior to it?
Eg.
<a id="modal">Click me!</a>
Would be
<a id="modal" class="js-id-modal">Click me!</a>