I have an input element and I want to remove the .error class (to remove the error formatting) and also remove the error message when I click into the input field so I can enter the correct information.
My input field is:
My css is:
My attempt is:
I have attached an image of the error message and the result when I click into the input box.