element.scrollLeft property gets or sets the number of pixels an element's content is scrolled horizontally.
Note: If the element's direction is rtl (right-to-left), then scrollLeft is 0 when the scrollbar is at its rightmost position, and then increasingly negative as you scroll towards the end of the content.
|Number||Returns the number of pixels an element's content is scrolled horizontally.|
Please do google search for:
Join Our Channel
This channel is primarily useful for Full Stack Web Developer.