Give me the asnwer please Im begging
Which sentence is punctuated correctly?
A. Before Nate did his homework, he took the dog out for a walk.
B. Before, Nate did his homework, he took the dog, out for a walk.
C. Nate took the dog, out for a walk, before he did his homework.
D. Nate took the dog out for a walk, before he did his homework.