Question: what is the difference between a chained conditional and a nested conditional?
Answer: In the JavaScript language, we can chain conditionals using else if statements. This code is very similar to the original code, but uses an else if instead of a nested else with an if inside it. A chained conditional is generally easier to read, especially as the number of conditions increases, and often a bit shorter.