Check out example codes for "marquee tag 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

// scrolling up direction..

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

Code Example 3

CZCSDSDFSD

Learn ReactJs, React Native from akashmittal.com