In the process of re-organizing the website. Apologies for any broken links!
It's common to think of traits as being determined entirely by genes, but in reality, the environment plays a huge role in gene expression. A single genotype can result in multiple different phenotypes due to environmental factors.
Phenotypic plasticity is the ability of a single genotype to produce different phenotypes depending on the environment. Think of the genotype as the lyrics to "Friend Like Me" and the environment as the newest Broadway actor cast as the Genie. The words (genes) stay the same, but the final performance (phenotype) can look and sound completely different depending on the spin each actor puts on it.
One of the most famous examples of this is the gene expression of the Himalayan rabbit. These rabbits have a gene (the "C gene") that controls fur color by producing pigments. If you look at the image, the rabbits express the gene very differently depending on what environment they lived in.
The reason for this is the gene is maximally active from 15-25°C and inactive above 35°C. Think about what parts of your body get cold first when you're out in the winter - it's usually extremities like your fingers, nose, ears, etc.!
So what happens is the colder parts of the rabbit produce the protein still, while the warmer have the protein denature, preventing pigment formation.
In humans, the gold standard for studying gene-environment interactions are "twin studies". Identical twins (monozygotic) have identical DNA, but when raised in different environments, can develop some noticeable differences. By studying identical twins separated at birth, it can give great insights into the role that genes and genetics have.
Many traits, especially in humans, rely on both genes and the environment and are not quite as simple as purely genetic, Mendelian traits. For example, someone might have an allele that makes them more likely to have type 2 diabetes, by lifestyle facotrs such as diet and exercise play a huge role in whether someone as the disease or not. Likewise, a plant might have genes for tall growth, but if grown in nutrient-poor soil, it won't reach its full height potential.