Skadi, the daughter of the slain giant Thiazi, waited for his return. Saddened, and then angered, but the news of his death she went to find the man who killed her father and take revenge upon him. She then went to Asgard to find Odin.
Heimdall, the guard of the palace, yelled at her to put her sword away but she refused, saying she was there for revenge. Odin then said to her, "I'm sorry I had to kill your father. Let me show you my regrets by offering you a gift. What do you want?" She replied, "I want a husband and I want to choose him myself." Odin agreed, but she would only be able to choose him by looking at his feet.
Looking at all of the gods' feet, she chose the prettiest. The god was Njord, ruler of the sea. His feet had been worn smooth by the wind and the waves. Not completely satisfied, Odin asked her what else she wanted. "You must give me back my laughter. Since my father's death, I have not been able to laugh."
Odin agreed to restore her laughter. Loki came forth and began playing tug-of-war with a goat and everyone, including Skadi, began laughing. She had her laughter back, and Loki had been forgiven for all the trouble he had previously caused.
They soon wed, but neither of them wished to leave their own region. They made a pact to live nine nights in Skadi's frozen mountains and three nights near Njord's warm sea. This explains why wintry storms raged for nine months of a year and gentle weather happened for only three.
Skadi still missed her father, so Odin put his eyes in the sky as giant stars so she could have her father look down on her whenever.