What is the difference between internal and external validity?

Internal validity is the degree of confidence that the causal relationship you are testing is not influenced by other factors or variables.

External validity is the extent to which your results can be generalised to other contexts.

The validity of your experiment depends on your experimental design.