The battle of salamis was on foot and it was the Greeks vs the Persians which the Persians had a lot more people and he Greeks won and the Greeks sent a messenger to tell the rest of the Greeks but when he ran the 26 miles he died right after he told everybody.
The battle of Thermopylae was on foot. The Athenians sent their powerful army navy to attack the Persian navy. To slow the Persian army the Spartans sent around 1,400 soldiers to Thermopylae a narrow pass. The Persians had to cross through this to attack Greek cities.
The battle of salamis was on water and it was the Greeks vs the Persians the Greeks beat the Persian navy part of the problem is that the Persian boats couldn't move around very well including turning.