1. Find the verb and its subject
Look for the verb or whole verb group. Ask who or what that verb tells us about. Include the words that belong with the subject. A subject can name someone doing something, or something being described.
In “The little gate is open”, the subject is “The little gate” and the verb is “is”. Is relates the gate to a description. In “While the puppy slept, the kittens played beside the basket”, the pairs are the puppy / slept and the kittens / played.
Try it · Find the two subject–verb pairs in “While the rain fell, the children were painting indoors.”
The rain / fell is one pair; the children / were painting is the other. Keep were with painting as the whole verb group. The while clause belongs with the rest of this sentence; it is not a complete sentence by itself here.