Magic beach - Johnson, Crockett 1906-1975 (Front Street, 2005)
Originally published with illustrations by Betty Fraser in 1965 under the title: Castles in the sand. -- Two children find themselves in a story when they write words in the sand on the beach, and whatever they have written appears when the waves wash the words away.