Shopify themes, liquid, logos, and UX
Hi guys
I have a javascript code that works perfectly fine on my live server but stops working on Shopify. Can you find the mistake?
const form = document.querySelector('form');
const color = document.querySelectorAll('.main');
document.querySelector('form').addEventListener('change', function(e) {
var colorCodeD = [...form.querySelectorAll('input[type=radio]:checked')].map(element => element.value).join('');
color.forEach(element => {
element.classList.toggle('color1', colorCodeD === 's1');
})
selected.innerHTML = colorCodeD;
});
Hi all, the issue I'm having right now is my collection images are showing up with a black background. I've made sure that they have a transparent '
Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024