how to texture a cube

ok guys, extreme noob here. how do you texture a cube. ive created one as a platform for my 2d game and for the life of me i cant figure out how to use the “grass” texture i imported as a texture for the cube.

i know its a simple problem.

You just need to drag and drop the texture or a material using the texture to the cube in the scene view.