Post History
You should almost never use a style attribute. They're clunky, they mix HTML with CSS meaning you can't preload it, and they override just about everything else. Instead, either use atomic classes...
#1: Initial revision
You should almost _never_ use a `style` attribute. They're clunky, they mix HTML with CSS meaning you can't preload it, and they override just about everything else. Instead, either use atomic classes from Co-Design, or if that doesn't work add a class of your own and write some custom CSS. In this case, perhaps try something like this: ```js // JavaScript $tgt.addClass('failed-validation'); ``` ```css /* CSS, app/assets/stylesheets/character_count.scss */ .failed-validation { border: 2px solid #d21919 !important; } ```