income(); function income() { let switchBlock = document.querySelectorAll('.switch-status'); for(let i = 0; i