Mariah Khayat
Mariah Khayat

Reputation: 67

Adding Motion Banner into a Website using HTML, CSS and JavaScript

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:

MainPage of MyWebsite

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

Answers (1)

dwb
dwb

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

Related Questions