Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

167
Views
Set Active class for Bootstrap Carousel

Iam having a bootstrap carousel in which the images are dynamic(from backend api) so i could not set active class for the slides ..If i use active className in hardcode, all slides are active at same time .. How to do it dynamically

So far i have tried setting active class using jquery.. I got all the elements inside carousel-inner and then used addClass and removeClass but it did not help me

sandbox link click here

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Don't use jquery in react project. take look on other npm

https://www.npmjs.com/package/react-responsive-carousel

and if you are using react-bootstrap then check

https://react-bootstrap.github.io/components/carousel/

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!