Store Data in List Items

Modified the codes to store the data's in the list items and then
displaying it