I have a problem in converting my websites vanilla js to jQuery
I want to convert
const blue = $('#color-blue'),
red = $('#color-red');
blue.addEventListener('click', () => {
delete chat.dataset.color;
});
red.addEventListener('click', () => {
chat.dataset.color = 'red';
});
to use with jquery