JavaScript Taskbook Level 6.1
Given a button, an empty list ul and an array. By clicking on the button, fill the list with the elements of this array.
Given a button and an empty list ul. By clicking on the button, fill the list with numbers from 1 to 10.
Given a button and an empty list ul. By clicking on the button, add a new item to the end of the list with the text '!'.
Given a button and an empty list ul. By clicking on the button, add a new item with a serial number to the end of the list.
Given a button and a list ul filled with items. Clicking on the button deletes the last item in the list.
Given a button and a list ul filled with items. Clicking on the button deletes a random item from the list.