These kinds of ranid do not make good captives because they tend to be nervous. This nervousness makes them jump into the glass or wall of a terrarium, injuring themselves. I suggest you don't keep one but instead look for a frog that does much better in captivity. For example, a bullfrog, or an African Bullfrog.