The pacific chorus frog is the one who needs trees. The red legged frogs are terrestrial. I found a care sheet for you if that is what they are.
http://reptileapartment.com/2010/04/...sina-maculata/
I wish I knew more a out them for you. You're welcome for the reply.
The frogs's water should be changed daily. I'm glad your friend left you some supplies.