Conditionally Enabling and Disabling DOM Elements

Today, we cover a technique on how to enable and disable a group of elements through an array of validations.
Web applications are becoming more and more difficult to write when it comes to complex business logic on the front-end.
Depending on the complexity, it may require you to take a group of inputs and validate those elements before pressing submit.