Another way to remember the horizontal and vertical gradients
A horizontal line has zero gradient.
A vertical line has no slope.
We remember this as follows:
Horizontal
Zero slope means that the line is horizontal.
Vertical
No slope means that the line is vertical.