const checkBoxes = document.querySelectorAll(".pill input[type='checkbox']"); checkBoxes.forEach((checkbox, index) => { checkbox.addEventListener("change", () => { if ...
In this example, the parent/child is such that: Note :- All the data are connected based on symbols as shown in the bracket next to text Aspek (A) ├── Parameter (A1) │ ├── Indikator (A1.1) │ ├── ...