These ones are a bit different from the ones it’s giving me on the app!!! HELP.
Indicate whether each sentence is simple, compound, or complex.

A) I took the dog for a walk in the park because he had been shut in the house all day.

B) He stopped to bark at several other dogs, and he chased a squirrel.

C) We completed a half-mile walk.

D) When we got home we were both tired; however, only the dog could take a nap.