No-Library (pure JS), HTML, CSS, JavaScript
Looking to reuse the following function. Write it once, call it multiple times. Does not currently work that way. Comments in the JavaScript section show the working code and tries that failed.
Disable the reputation checkboxes if the Faction checkbox is unchecked. Enable the reputation checkboxes if it is checked.