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 two basset hounds 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 semicolon to connect a subordinate clause to the main clause in front of it. Review the rules.