Amino acids are bonded together by peptide bonds to form polypeptide chains.
Polypeptide chains fold to form the three-dimensional shape of a protein, held together by hydrogen bonds and other interactions between individual amino acids.
Proteins have a large variety of shapes which determines their functions.
Remember that a phenotype is a physical expression of a gene/characteristic. This is determined by the protein produced as a result of gene expression.
Environmental factors can also influence phenotype.