Praise be to Allah.
The jinn are accountable just as humans are; those of them who obey Allah will enter Paradise, and those who disobey Him will enter Hell. The words of the Quran are addressed to them too and they will be brought to account on the Day of Resurrection for their deeds, as Allah says (interpretation of the meaning):
“And they have invented a kinship between Him and the jinn, but the jinn know well that they have indeed to appear (before Him) (i.e. they will be called to account).” [37:158].
Mujahid said: They will be brought to account, as it says in Jam’ial-Bayan by al-Tabari. Imam al-Bukhari (may Allah have mercy on him) included a chapter in his Saheeh entitled “Mention of the jinn and their reward and punishment”, in which he quoted some verses, including this verse, and he quoted the tafseer (commentary) of Mujahid (may Allah have mercy on him).
Al-‘Allamah al-Sa‘adi (may Allah have mercy on him) said:
i.e., these mushrikeen (polytheists) claimed there was a relationship between Allah and the jinn, as the claim that the angels were the daughters of Allah and that their mothers were the daughters of the masters among the jinn. But in fact, the jinn know that they will be brought to account before Allah, to be rewarded or punished, and if there were any relationship between them and Him, that would not be the case. End quote. Tafseer al-Kareem al-Rahmaan.
As for how the deeds of the jinn are recorded and whether their situation in this regard is like that of humans, for each of whom Allah has appointed two angels to record his deeds and watch over his actions, that is a matter of the unseen which Allah has not told us about. The verses and hadeeths (prophetic narrations) that speak of that have to do with humans, not jinn, as Allah says (interpretation of the meaning):
“O man! What has made you careless about your Lord, the Most Generous?
Who created you, fashioned you perfectly, and gave you due proportion.
In whatever form He willed, He put you together.
Nay! But you deny ad‑deen (i.e. the Day of Recompense).
But verily, over you (are appointed angels in charge of mankind) to watch you,
Kiraaman (Honourable) Kaatibeen —writing down (your deeds),
They know all that you do.” [82:6-12].
And He says (what means):
“And indeed We have created man, and We know what his ownself whispers to him. And We are nearer to him than his jugular vein (by Our Knowledge).
(Remember) that the two receivers (recording angels) receive (each human being), one sitting on the right and one on the left (to note his or her actions).
Not a word does he (or she) utter but there is a watcher by him ready (to record it).” [50:16-18].
So knowledge of the jinn remains with the Creator alone, in addition to the fact that there is little benefit in pursuing knowledge of such matters that have nothing to do with belief and on which no actions are based.
And Allah knows best.