Did 300 Spartans try to put a halt to the Persian advance at Thermopylae?

The Battle of Thermopylae was where, in 480 BC, a force of just 300 Spartans led by King Leonidas fought valiantly against the Persians. Or is there something the popular accounts are not telling us?