Here is the passage again:
Joey idolizes his older brother David. Combing his hair
in the style that David wears, drinking coffee black with five sugars, and
giving teachers the same lame excuses for late homework. As a consequence,
everyone calls Joey "David" by mistake!
The second part is a participle phrase fragment. It includes many good details but is missing a main clause, the most important component of a complete sentence.