Student or Learner
I have a question about rewriting sentences by using inverted order with "Not only ... but also".
Original sentence is "She not only sings beautifully but also dances wonderfully."
And the answer given by textbook is "Not only does she sing beautifully but she also dances wonderfully."
What about "Not only does she sing beautifully but also dances wonderfully."?
Is it grammatical?