I have a form in which I have 8 inputs, once I validate that the user enters the type of data that is required in the form I add a green border to the inputs, I would like that after all the inputs have the green border activate a button with btn.disabled = false.
I recommend that you use a function that is executed in the blur event (for an example) of each input and consult the border property inside said function:
Then, in the same function, check if the color of the inputs you need to validate are == green, then btn.disabled = true.