A worker in a factory earns 10 an hour the worker works 10 hours a day for 10 days straight before a vacation. How much money did the worker earn before going on vacation

The worker earns 10 dollars per hour and works for 10 hours a day, so they earn 10 * 10 = <<10*10=100>>100 dollars per day.

The worker works for 10 days, so they earn a total of 100 * 10 = <<100*10=1000>>1000 dollars before going on vacation. Answer: \boxed{1000}.