[RESOLVED] Form Validation

I seeeee.

To be correct, if I add in the CSS above for :Valid and :Invalid it will automatically style the fields according to whatever properties I have assigned to them?

But I need to make sure I have some JavaScript in there as a form of 'validation', by extension, how would I target those two classes to activate?

Can I ask, is this correct?
.fd-form .form-control.is-valid{
color: red!important;
}