Jenny wanted to test whether worms prefer light or darkness best. After researching the topic she came up with her hypothesis: If a worm is exposed to light and darkness, then it will choose darkness over the light. The independent variable in her experiment is the light/darkness.
An independent variable is the variable that is changed or controlled in a scientific experiment to test the effects on the dependent variable. You are changing light or dark