This question already has an answer here:
I work as a freelancer in web development in Germany for German customers. I now want to visit my sister as a tourist for 2 months in the US. She's studying there for a year.
Am I allowed to continue to work on my projects for my German customers while being in the US? I do not want to get new American customers.