Sorry if the title is not clear but I'm trying to make it so that when I type something into an input it changes the border color around it.
Right now I'm using the :focus selector but when I click off the input window the border changes back to its original color.