Consider the following code:

Ginger needs to write a script to display a pop-up alert box with the type of credit card the user selected Which of the following code blocks should she use?
A)

B)

C)

D)

Select an option, then click Submit answer.
-
○
Option A
-
○
Option B
-
○
Option C
-
○
Option D