Here is the original item:
To keep her basset hound away from the pizza, Ana keeps the squirt bottle
within reach. So that she can "draw" like a gunslinger if a dog
tongue gets too close.
You chose to connect the subordinate clause to the main clause in front, like this:
To keep her basset hound away from the pizza, Ana keeps the squirt bottle
within reach,
so that she can "draw" like a gunslinger if a dog tongue
gets too close.
Unfortunately, you do not use a comma to connect this subordinate clause to the main clause in front of it. Review the rules.