Hi JohnInPomeroy,
Yeah, it can be tricky to get started with this ;-) Two tips:
1. Practice, practice, practice. This does get better over time. Once you understand the code you're writing better, you'll make fewer errors to begin with, and you'll be able to solve problems quicker.
2. Get a free comparison tool so you can quickly compare your code with mine and see what's wrong. An online version can be found here:
www.quickdiff.com.
Cheers,
Imar