Do something with jQuery (correct way?)
// Do something with jQuery
$('.product-category').on('click', 'button', function () {
document.querySelector('.banner').style.display = 'block';
});
// Do something with jQuery
$('.product-category').on('click', 'button', function () {
document.querySelector('.banner').style.display = 'block';
});