btns = document.getElementsByClassName("saveBtn");
for (var i = 0; i < btns.length; i++) {
btns[i].addEventListener("click", function () {
//Add function here
});
}
const boxes = document.querySelectorAll('.box');
boxes.forEach(box => {
box.addEventListener('click', function handleClick(event) {
console.log('box clicked', event);
box.setAttribute('style', 'background-color: yellow;');
});
});