const setStyle = (el, ruleName, val) => (el.style[ruleName] = val);