Definition
This idiom describes doing something without a specific purpose or intention, typically for enjoyment or on a whim.
He decided to sign up for the marathon, just for the hell of it.
We drove to the beach without any plan, just for the hell of it.
She dyed her hair on a whim, just for the hell of it.