Vertical lines have no slopes.
They have an undefined slope. So, no slope means that the line is vertical.