it got the job done, but my number of "interests" might have been lower than the threshold (sad life) there is also this, again with the blessings of chatgpt: document.querySelectorAll('input:checked').forEach((c, i)