© 2026 LinearBytes Inc.
Search posts, tags, users, and pages
jonathan merchant
Web-developer & Blogger
kindly recommend the code structure for this website page .
Marco Alka
Software Engineer, Technical Consultant & Mentor
const flexContainer = document.querySelector('parent-element'); for (const rotatingBoxElement of rotatingBoxElements) { flexContainer.appendChild(rotatingBoxElement); }
You can use CSS animations to make them spin (let me google that for you)
Thanks, Marco. I am going to implement this on web page.let's see how it works.
Marco Alka
Software Engineer, Technical Consultant & Mentor
const flexContainer = document.querySelector('parent-element'); for (const rotatingBoxElement of rotatingBoxElements) { flexContainer.appendChild(rotatingBoxElement); }You can use CSS animations to make them spin (let me google that for you)