I also failed.
But not to worry, the real test comes how to deal with the failure. We all studied Islam for the paper at least. So be grateful to what other things you have which many do not. Do not be in a sad state one day you will laugh and regret reading your comments when Allah will bless you with a lot more than CSS.
so cheer up, it's not the end of the world.