•  tutorial
Edit

.toggleClass()

See the Pen JQuery .toggleClass() by inimist (@inimistschool)on CodePen.