“Which one is correct sentence?”

"Which one is correct sentence?"
Answer: "Why didn’t you go?"

"The sentence 'Why didn’t you go?' uses correct grammar