Originally published with illustrations by Betty Fraser in 1965 under the title: Castles in the sand.
Summary
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.