Is there any way to figure out the gender of a word? Or do I have to learn it by heart?
By heart. Try to learn it as you learn a new word, so you should remember 'et egg', not just 'egg'.
Okay how is "et egg" "one" egg but not "an" egg?
oh nvm I did it wrong