How do you make a glass cube?
First enable screen space reflection in settings of the material
then in the render properties enable screen space reflection and then enable refraction in the screen space reflection tab...
Don't forget to change the ior to 1.5