Hunch interview question

How is logistic regression different from linear regression?