Reputation: 67
I'm currently working on a full-stack website, and I'm designing the front-end part using HTML, CSS, and JavaScript.
I want to add a motion banner on the main page of my website (The motion banner will present the most read articles), as shown in the following prototype:
How can I do that using JavaScript? Do I have to make the little squares buttons, then when the user presses on them the banners get changed? How can I make the banners get changed automatically, after every few seconds?
Could anyone send me some links which I can follow to create this motion banner?
Upvotes: 1
Views: 1795
Reputation: 2624
welcome to stack overflow!
There are many ways to make a carousel, but a viable option could to be use someone else's library which they've already written. After a quick Google for 'js carousel', I found these:
Hope this helps!
Upvotes: 1