Which sentence is grammatically correct?

When you look in the mirror do you like what you see?

Do you like what you see when you look in the mirror?

Which sentence is grammatically correct?
Post Opinion