The answer is:
Having been taught to cook by her grandmother, she found most recipes easy to follow.
Dangling modifiers are words or phrases wrongly placed or separated from the word they modify. As a result, the meaning of the statement makes no sense, is confusing or ambiguous.