Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

Infinite Testimonials Slider using Svelte, TS, and Tailwind

Fred Campo 330

@fredcamp

Desktop design screenshot for the Coding bootcamp testimonials slider coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
2junior
View challenge

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 GitHub
Discord logo

Join 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