Well, actually, that's not quite correct.

Christians believe that your eventual presence in Heaven or Hell is based primarily on the relationship between you, your life, and this guy we call Christ.

Specifically, that if you accept that Christ died in your place, for your sins, then you get to go to heaven. Otherwise, it's hell for you, sparky.

So, technically, your eventual plane of existence is determined by your actions - did you accept this guy we call Christ, or not?

But it's not salvation through works. It's salvation through faith.