I have an array which contains objects. Each object describe a social event.
const social_events = [
{name:'Musical show',location:'Colombo'},
{name:"DJ Party",location:'New york'},
{name:"Dinner dance",location:"Paris"}
]
What I want to do is DISPLAY ONE SOCIAL EVENT AT A TIME inside a div tag. of cause this is exactly like a carousel expect carousel for images this for texts.
I want to change my text in every 15 seconds as well.
I think it's something with setTimeout and computed properties.
How do I achieve this any clue?
setTImeout?