Remember — sin = how high, cos = how wide. In QI both height and width are positive (up and right). In QII height is still positive (still going up) but width is negative (now going left). In QIII both height and width are negative (down and left). In QIV height is negative (going down) but width is positive (going right again).
💡 Tan = sin/cos. It's positive whenever both sin and cos have the SAME sign (both positive in QI, both negative in QIII). It's negative when they have DIFFERENT signs (QII and QIV).