Definition:
The word "haphazardly" is an adverb that means doing something in a careless or random way, without any planning or organization. When you do something haphazardly, it is not done with attention or care.
When you use the word "haphazardly," you are describing actions that lack care and organization. It suggests that whatever is being done is random and not well thought out.