How are alleles and traits related?
Traits are basically your phenotype. They include things like hair color, height, and eye color.
Alleles are versions of genes. They are what directly specify what traits you have. For instance, in your hair gene, if you have the allele for brown hair, then you will have brown hair.
This is a pretty basic idea of how traits and alleles are related.