Survival
How to make a hopper feed into a chest in Minecraft
Sneak and place the hopper against the chest so its outlet points into it.

1. Craft the hopper
Put a chest in the middle, iron on both sides of the top two rows, and the fifth iron ingot at bottom center.
2. Test the direction
Drop one item into the hopper. If it stays inside, check whether the hopper points into the chest and whether a redstone signal is locking it.