This may seem like a very basic question but I can't figure out how to attempt this. I want to synchronize two arrays where the first string of the first var is paired with the first string on the second var. I want to change to the next var on both every 5 seconds that is linked to a paragraph tag on my html. I believe I am on the right track but don't quite know if I need the concat step.
I am new to javascript so thank you for your help!
var quotation = ["If your actions inspire others to dream more, learn more, do
more and become more, you are a leader",
"A leader is one who knows the way, goes the way, and shows the way",
"Leadership is practiced not so much in words as in attitude and in actions",
"Obstacles are things a person sees when he takes his eyes off his goal",
"Innovation distinguishes between a leader and a follwer"];
var quotations = ["John Quincy Adams", " John C Maxwell", "Harold S Geneen",
"Joseph Cossman", "Steve Jobs"];
var authors = quotation.concat(quotations);