Take another look at the sentence:
Painted pink with gold sparkles, Madeline admired her nails.
Painted pink with gold sparkles, a participle phrase, is right next to Madeline, an illogical target. Really, aren't her nails a more appropriate target for that modifier? Before you continue, review the rules for misplaced and dangling modifiers.
Go back to the sentence to try again.