How can we find the direction of magnetic field due to coil or solenoid carrying current?

The direction of the field due to coil or solenoid carrying current can be determined by using right hand rule.
“When you curl your right hand fingers in the direction of current, thumb gives the direction of magnetic field”. :