Mary Shelley wrote the story of Frankenstein in Geneva. Bad weather trapped her with her husband and others. So they started creating horror stories.
Detailed answer:
According to biographers, Frankenstein was written by chance in the rainy summer of 1816 on Lake Geneva. The company (poet Percy Bysshe Shelley, his wife Mary, physician John Polidori, poet Lord Byron, and half-sister Claire) had to spend much time at home. To entertain, they read and discussed “scary” stories of ghosts and bloody murders.
They were popular in those years. Magazines printed them, and several were found in Shelley’s cottage. Lord Byron and Shelley talked, and Mary was their diligent but quiet listener. They discussed various questions of philosophy. In particular, they spoke of the secret of life origin. They wondered whether it would be possible to unveil it.
For a balanced assessment of the novel, it is worth considering the following. This work arises at the junction of three aesthetic systems. They include enlightenment, Gothic, and romanticism. Therefore, it is natural to combine heterogeneous ideologies and artistic techniques. When Frankenstein went in print, it received high evaluations from the famous peers of the writer.