Submitted over 1 year ago
Infinite Testimonials Slider using Svelte, TS, and Tailwind
@fredcamp
Design comparison
SolutionDesign
Solution retrospective
To handle more testimonials, loop through all testimonials and initialize their positions to next then dynamically change them base on the user's input for navigating the next slider.
To dynamically update the slider's position when using TailwindCSS use the svelte:class directive to apply tailwind positioning classes
Community feedback
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord