Heidi is a work of fiction written in 1880 by Swiss author Johanna Spyri, originally published in two parts as Heidi's years of learning and travel and Heidi makes use of what she has learned. It is a novel about the events in the life of a young girl in her grandfather's care, in the Swiss Alps. It was written as a book "for children and those who love children" .