8. Šakotis For Sale

Earn some Euros, convert them into Litas and buy a cake. While programming, specify that Euros are received after clicking on the Euro coin and converted into Litas by clicking on the Litas note. After collecting the right amount, click the “PIRKTI”, or “Purchase”, button and taste!
This text is displayed if your browser does not support HTML5 Canvas.
    Hint:
  • 1
  • 2
Javascript code: