diff --git a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript/selecting-from-many-options-with-switch-statements.md b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript/selecting-from-many-options-with-switch-statements.md index 1cb672c7a72..b4fa4b1ac2d 100644 --- a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript/selecting-from-many-options-with-switch-statements.md +++ b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript/selecting-from-many-options-with-switch-statements.md @@ -14,12 +14,12 @@ If you have many options to choose from, use a switch statement. A `s Here is an example of a `switch` statement: ```js -switch (lowercaseLetter) { - case "a": - console.log("A"); +switch (fruit) { + case "apple": + console.log("The fruit is an apple"); break; - case "b": - console.log("B"); + case "orange": + console.log("The fruit is an orange"); break; } ```