The total Electoral College vote is 538. This means that, to become President, a candidate has to win at least 270 electoral votes.
In practice, most states are firmly Democrat - for instance, California and New York - or firmly Republican - for instance, Texas and Tennessee.
Therefore, candidates concentrate their appearances and resources on the so-called "battleground states", those that might go to either party.