Breakdown of Justo cuando salía de casa, sonó el teléfono.
la casa
the house / home (also "at home")
de
from
el teléfono
the phone
salir
to go out, to leave / to appear, to come out (on the body)
Elon.io is an online learning platform
We have an entire course teaching Spanish (Spain) grammar and vocabulary.