1 00:00:00,660 --> 00:00:08,200 Array elements can be changed using the index number let's change the first element of our array to 2 00:00:08,200 --> 00:00:08,800 Kiwi 3 00:00:16,790 --> 00:00:24,680 we'll start off with the name of the array fruits and then specify the index number corresponding to 4 00:00:24,680 --> 00:00:26,270 the value we want to amend 5 00:00:35,830 --> 00:00:36,450 and that's it. 6 00:00:36,460 --> 00:00:39,520 Once we save our file we can preview it in our web browser 7 00:00:46,500 --> 00:00:52,690 and we can now see that the first value Apple has been amended to Kiwi 8 00:00:56,550 --> 00:01:01,490 if we were to change the index number let's say the three 9 00:01:04,160 --> 00:01:05,950 and save our file and refresh 10 00:01:09,590 --> 00:01:12,290 we can see that grape has now changed to Kiwi 11 00:01:18,920 --> 00:01:23,210 we can also delete elements in an array using index numbers as well. 12 00:01:24,100 --> 00:01:30,260 Let's delete pear from our list of elements since pear would have the index number two. 13 00:01:30,370 --> 00:01:31,810 We can type the following 14 00:01:44,440 --> 00:01:45,370 we'll save our file 15 00:01:51,070 --> 00:01:56,810 and in our web browser we can now see that there is an empty space where pear would have appeared.