Why does this code reset at every paragraph?

Printable View