Solution:
The electric field is present in the y-z plane. So, if we place a square surface in the y-z plane, the area vector of the plane will be perpendicular to the electric field and hence cosθ becomes 0 as θ is 90 degrees. So, EA cosθ becomes zero i.e. no flux through the surface.