Don't beat yourself up, you are a wonderful mommy. Fleas can happen in a heartbeat, but you got it under control now...and right away I must say.
I've not had a flea problem in the house and you reacted so quickly, you may not have a problem. I do believe there is a powder you can get for your carpets.
Others will problem has some good ideas soon.