1 00:00:09,130 --> 00:00:10,040 Hey, everybody. 2 00:00:10,060 --> 00:00:18,640 Now it's time to do our second list of exercises for this one, I already created a new James file and 3 00:00:18,640 --> 00:00:19,570 made the link. 4 00:00:19,750 --> 00:00:21,780 You can do the same thing there. 5 00:00:22,330 --> 00:00:25,180 So let me read the questions to you. 6 00:00:25,330 --> 00:00:33,250 So, number one, create a function to convert Celsius to Fahrenheit, use it to convert the temperatures 7 00:00:33,250 --> 00:00:33,730 below. 8 00:00:33,970 --> 00:00:37,720 So here I'm including the formula to make the conversion. 9 00:00:38,030 --> 00:00:39,990 You were going to create a function. 10 00:00:40,450 --> 00:00:46,180 So you're going to need an argument which is going to be the Celsius temperature. 11 00:00:46,600 --> 00:00:51,520 Then you are going to convert it to Fahrenheit and return the result. 12 00:00:52,090 --> 00:00:59,260 So then you can use this function to convert these three temperatures and show the results in these 13 00:00:59,260 --> 00:01:00,070 boxes. 14 00:01:00,490 --> 00:01:05,590 No, to the array below is the classification of students in a contest. 15 00:01:06,070 --> 00:01:13,060 It is ordered from lowest to highest grade, so lowest to highest grades. 16 00:01:13,810 --> 00:01:18,370 Then I wanted to show the names of the three best students. 17 00:01:18,760 --> 00:01:24,960 So we know that the three best students are the three the last students of this array. 18 00:01:25,210 --> 00:01:30,480 So I want you to get them using JavaScript and showing it here. 19 00:01:31,030 --> 00:01:33,820 Number three, consider the object below. 20 00:01:34,030 --> 00:01:36,670 So here we have an object for a course. 21 00:01:37,000 --> 00:01:45,050 We have title categories and the reviews later a show, the course title in the box below. 22 00:01:45,250 --> 00:01:50,740 So you're going to have to get the title property and place it here. 23 00:01:51,280 --> 00:01:56,760 Letter B, the main category is the first element of the category is array. 24 00:01:56,890 --> 00:02:04,060 So we have an array for the categories and the main category is the first element of this array. 25 00:02:04,240 --> 00:02:09,160 So I wanted to show this in this box. 26 00:02:09,700 --> 00:02:15,910 Letter C create a method to calculate the percentage of five star reviews. 27 00:02:16,750 --> 00:02:20,490 So we have the total number of reviews here. 28 00:02:20,740 --> 00:02:22,510 You're going to have to sum everything. 29 00:02:22,690 --> 00:02:30,760 So let's say if we have a total of one hundred reviews and we have 20 of them to be five star reviews, 30 00:02:30,760 --> 00:02:35,140 we know that 20 percent is going to be the result we want. 31 00:02:35,380 --> 00:02:42,430 So you just have to calculate this so that the total number of reviews and then get the percentage of 32 00:02:42,430 --> 00:02:51,460 five star reviews, then you can just place it inside this box rounded with no decimal places. 33 00:02:52,410 --> 00:02:55,840 Number four, see the shopping list below. 34 00:02:55,860 --> 00:03:03,330 So here we have a shopping list, do the following changes to the list, get the last item and place 35 00:03:03,330 --> 00:03:05,610 it at the beginning of the list. 36 00:03:06,060 --> 00:03:09,140 Add two more items at the end of the list. 37 00:03:09,270 --> 00:03:14,090 Cheese and eggs, show the updated list in the council. 38 00:03:14,700 --> 00:03:16,770 So this should be pretty easy for you. 39 00:03:17,160 --> 00:03:17,850 Good luck. 40 00:03:18,510 --> 00:03:20,270 And I'll see you in the next video.