When you have to write the slope-intercept form of the equation for a horizontal line, is it just y= whatever the y-intercept is?

yes. y=8 is a horizontal line, slope is zero, y intercept is 8.