The translate function allows you to move an element from
its original position along the X and Y axes.
The translate function takes either one or two values. When a single value
is provided, it translates the element along X-axis. When two values are provided, the first value specifies
the translation in X direction while the second value specifies the translation in Y direction.
We can also use translateX and translateY functions to translate an element along a specific direction.