 The eggs may be deposited singly or in small groups , or may take the form of spherical egg masses , rafts or long strings . In terrestrial caecilians , the eggs are laid in grape @-@ like clusters in burrows near streams . The amphibious salamander Ensatina attaches its similar clusters by stalks to underwater stems and roots . The greenhouse frog ( Eleutherodactylus planirostris ) lays eggs in small groups in the soil where they develop in about two weeks directly into juvenile frogs without an intervening larval stage . The tungara frog ( Physalaemus pustulosus ) builds a floating nest from foam to protect its eggs . First a raft is built , then eggs are laid in the centre , and finally a foam cap is overlaid . The foam has anti @-@ microbial properties . It contains no detergents but is created by whipping up proteins and lectins secreted by the female . 
