React Game: Binary logarithm


Following the example of the program "React Game: binary logarithm"
try to write the program "React Game: 2 to the power of X"

 React Game: 2 to the power of X