Slime molds, a fungus-like organism, start out as a yellow, cream or orange mass. They appear as a shiny, frothy glob and are sometimes mistaken for dog vomit.
Fuligo septica, a yellow slime mold, is one variety of 700 different slime molds and can grow up to 2 feet in diameter, occasionally climbing a nearby plant or a wall, notes Iowa State University Extension.
Slime molds feed on organic debris, bacteria, fungi and tend to thrive in damp, rotting mulch. Once mature, the mold will dry out and drop spores into the surrounding area, waiting for the right conditions to help them grow again the following year.
The best method of prevention is to dry out the area where the slime is appearing. Spores will not germinate in a dry location.