I’m having trouble solving the problem. I almost got it, but I got it wrong. I did set up the “parse menu as a JSON object”. It seems I’m missing a few codes. Here are the instructions and my wrong answers. Complete the application by doing the following:
- Create a variable called
menuObject
and set it to the result of parsingmenu
as a JSON object. - Using template literals, log
menuObject
‘sappetizer
,main
, anddessert
to the console.
The console should output the following:
Today’s Menu:
Appetizer: Shrimp Shumai
Main Course: Aloo Gobi
Dessert: Key Lime Pie