SyntaxFix
Write A Post
Hire A Developer
Questions
Your selector is missing a . and though you say you want to change the border-color - you're adding and removing a class that sets the background-color
.
border-color
background-color