top of page
Image by Daniel Monteiro
Image by Daniel Monteiro

Wix Studio tips and tricks

bottom of page
const h1Elements = document.querySelectorAll('div.splitting'); // Loop through each h1 element and add the "data-splitting" attribute h1Elements.forEach(div => { div.setAttribute('data-splitting', ''); });