options.onclick = function(e) {
    optionItems.map((item, index) => {
        if (index == e.target.getAttribute('data-type')) {
            item.style.backgroundColor = '#25bb9b';
            items[index].style.display = 'block';
        } else {
            item.style.backgroundColor = '#fff';
            items[index].style.display = 'none';
        }
    })
}