what is the slope of a diagonal line?
So a diagonal line to the right ( / ) would have a positive slope. A diagonal line to the left ( \ ) would have a negative slope. A vertical line ( | )has an undefined slope and a horizontal line ( ---- ) has a slope of 0.