A PEW report on states getting rid of the electoral college:
Maryland last year became the first state to approve a "national popular vote" compact that would allocate all of its 10 electoral votes to the candidate who wins the most votes nationwide, rather than to the candidate who garners the most votes in the state, as is the case under the Electoral College.
New Jersey, Hawaii and Illinois have since followed suit and passed laws that would allot their collective 40 electoral votes the same way. Identical bills are moving in Massachusetts, New York, North Carolina and Rhode Island, which have a total of 62 electoral votes.
These bills do nothing on their own and would take effect only when states that collectively have at least 270 electoral votes pass identical measures, since a candidate needs 270 electoral votes to win the presidency.