Breakdown of Le gastaron una broma: le pusieron sal en el café.
en
in / on / by (means of transport) / about (after pensar)
el café
the coffee
poner
to put / to set (the table) / to make (an excuse) / to give, to impose (a fine, a penalty)
le
to him / to her / to you (formal) / him (direct object, male person)
Elon.io is an online learning platform
We have an entire course teaching Spanish (Spain) grammar and vocabulary.