I have 5 items like this CAT, DOG, ELEPHANT, HIPPO, LION.
I need to build an h1 text that automatically changes like this every 3 or 4 secs like this
if I'm CAT, then I'm not a DOG or ELEPHANT.
if I'm DOG, then I'm not CAT or ELEPHANT.
if I'm ELEPHANT, then I'm not CAT or DOG.
if I'm HIPPO, then I'm not ELEPHANT or LION.
if I'm LION, then I'm not ELEPHANT or HIPPO.
So whatever comes after I'm, cannot come in the rest of the sentence. Y and Z can be anything from the list.
<h1>If I'm X, then I'm not Y, and Z </h1>
Here X, Y, and Z change dynamically like this
X, Y, and Z simultaneously go up followed by the next possible text