New user : Increase only height of cube.

Hi all,
I have created a cube. No I want to increase only its height or change its dimesion along an axis. Please let me know how to do it. When I press S and move mouse, it increases the overall size.

Thanks in advance
Deekkshit M

Press after pressing S, press Z to only scale along the Z axis.