(almost) All the nouns ending with "a" are feminine - la silla, la mesa, la casa, la luna, la montaña. (Notable exception: el agua). Also feminine all that end in "ción" such as: la nación, la configuración, la confirmación.
Almost all the other nouns are masculine - el carro, el niño, el oso, el barrio, el avión, el camión, el árbol.
Pretty sure with those 2 simple rules you will catch 90% of genders right.