you could try mnemonics
e.g. Green Buses Drive Fast Always (lines)
All Cows Eat Grass (spaces)
Also try flash cards. Get your family/ friends/ teacher to test you often with them... maybe learning first spaces, then lines before mixing them up.
In exam what you really need to be able to do is find the first note and then read patterns (whether notes are next to each other, or skipping a note). This is the way most of us probably read anyway