Less is used with uncountable nouns, but fewer is used with plural countable nouns.
Ten items or less.
(plural countable noun/items)
Ten items or fewer.There are less people in the lesson today.
There are fewer people in the lesson today.- I have fewer bananas than you, but you have less juice then me.