It has been said - and I think most rational people will agree - that if the Republicans had put up a somewhat "likable" candidate...he/she would have won in a landslide. Clinton herself is extremely disliked, and many votes for her were also votes against PE Trump...and many people simply could not being themselves to vote for either candidate.

PE Trump also did read the pulse of the people much better than she did.  He was able to appeal to the base she thought was in her back pocket and ignored.