Check out example codes for "marquee in html". It will help you in understanding the concepts better.

Code Example 1

<marquee width="60%" direction="up" height="100px">
This is a sample scrolling text that has scrolls in the upper direction.
</marquee>

Code Example 2

CZCSDSDFSD

Code Example 3

<marquee width="60%" direction="down" height="100px">
This is a sample scrolling text that has scrolls texts to down.
</marquee>

Learn ReactJs, React Native from akashmittal.com