Judgment according to works?

On judgment day, as listed in Rev. 20:12, "the dead were judged according to what they had done." Will the Christian's life (both good and bad things) be reviewed before going into heaven?

God judges on the basis of faith or unbelief (Mark 16:16).  While faith and unbelief are matters of the heart, neither is invisible; there is evidence of faith and unbelief in daily life.  Jesus’ parable of the sheep and the goats (Matthew 25:31-46) shows how the Lord will provide evidence for the judgment of the heart he renders.

The section of Revelation that you cited contains a picturesque way of God explaining that faith and unbelief are visible in everyday life.  As is the case with the parable of the sheep and the goats, here too in Revelation only the good works of Christians are mentioned.  None of their sins are pointed out because they have no sins.  Jesus Christ won complete forgiveness of sins for them by his holy life and sacrificial death, and Christians enjoy that forgiveness through Spirit-worked faith.

On the other hand, only the sins of unbelievers are mentioned because they are unable to do anything pleasing in God’s sight (Hebrews 11:6), and their entire life is one of sin (Romans 14:23).  Their sins are evidence of their unbelief.

Judgment day will not be a check list of the good and bad things people have done.  The judgment is of the heart, but God will provide evidence for his judgment of the heart.