Material refraction not working

I did try that, still doesn’t work. I don’t think the fresnel matters, because it just affects the camera view angle. I also followed another tutorial showing that creating those two nodes only still gets refraction, but it looks flat glass on my computer. I don’t know why.