DEV Community

Discussion on: Creating a simple carousel using JavaScript

Collapse
kemicky profile image
Kemmy Mary Omoshoro

Hi, why write a carousel in Js when you can easily use bootstrap?
I cant really understand the need for this long, cumbersome Js code for carousel.
May you enlighten me, please. Cheers

Collapse
hariramjp777 profile image
Hari Ram Author

Yes, You can use Bootstrap.

I was thinking about creating a carousel using JavaScript. I got this idea using some JavaScript methods (mentioned in the post). I wanted to share this as a blog.

But, Thanks for your comment. Have a nice day.

Collapse
kemicky profile image
Kemmy Mary Omoshoro

Ok,Thank you Mr Hari. I understand now. I checked it out already and got the concept.
Exceptional UI's you got. 👏

Thread Thread
hariramjp777 profile image
Hari Ram Author

Cheers. Thank you.

Collapse
kenovienadu profile image
Ovienadu Ken

Hello, bootstrap is not the best solution out there. In fact, there are a lot of very useful carousel libraries out there. Sometimes, it's better to understand the flow, and the best way to do it is to build it yourself.

Collapse
kemicky profile image
Kemmy Mary Omoshoro

Hi, I dont think so. It depends in what you want do with it and what you preferences of code is.
And thanks Mr Hari already responded and I have checked the code.

Collapse
kemicky profile image
Kemmy Mary Omoshoro

I do and coding is like Mathematics, there is no one best way of coding ,it depends on you who is coding and your best way and functions you want.
I dnt condemn one coding language for another I just choose which I like best. For those who know how to use bootstrap it has same equal abd more power as that of JavaScript. The down side of JavaScript is if the code is not fired properly your site will remain a mess.
I know what I am asking and I know why I asked and Mr Hari already responded correctly. Thank you