y = 1 is a horizontal line which has a slope of 0. A line perpendicular to it, a vertical line, has an undefined slope. A line parallel to it, also a horizontal line, has a slope of 0.
Learn this, it helps.. HOY -- horizontal line, 0 slope, represented by y = a number VUX -- vertical line, undefined slope, represented by x = a number.