From e1f4efa11eaf2cf0088de90a37b5aa4f6442dc6f Mon Sep 17 00:00:00 2001 From: ken8806 <71235937+ken8806@users.noreply.github.com> Date: Tue, 5 Mar 2024 12:02:51 +0200 Subject: [PATCH] Rectifies the comments to guide the students according to the sample solution --- index.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index 81dc5c6..ef86bf2 100644 --- a/index.js +++ b/index.js @@ -19,6 +19,8 @@ function displayMenuItems(menu) { // Create an element to represent a list of items + // Append a list of items element to the menu container + // Loop through the items in the category and create list items // Create a list item element @@ -29,7 +31,7 @@ function displayMenuItems(menu) { // Append the list item to the list of items - // Append the list of items to the category element + } // Callback function for adding an item to the order