Problem statement: Display the array [‘Ram’, ‘Shyam’, ‘Sita’, ‘Gita’ ] into an HTML list.
To achieve this, we will follow the steps below.
Step 1: Create the HTML skeleton.
Step 2: Create a variable named list and get the element whose id is “myList”.
My Personal Notes arrow_drop_up
Please Login to comment...