Huntington and Newport Beaches are within 30-40 mins, both great beachside towns with nice boardwalks and piers. Both are within easy reach of Anaheim as a day trip or you can of course stay there. Newport Beach is my favourite and arguably has more going on.
If you’re flying out of LAX, then nearby Santa Monica would be a good option as well and there is an amusement park on the pier.