this would linearize the code:
* use the new classList.toggle that can take a boolean as second parameter
* directly assign the booleans to the `disabled` properties