1 00:00:00,780 --> 00:00:02,040 OK, welcome back. 2 00:00:02,190 --> 00:00:10,020 Today is our section for Code Challenge, so here we're going to do a little bit more than we've done 3 00:00:10,020 --> 00:00:11,420 in code challenges in the past. 4 00:00:11,430 --> 00:00:15,360 We're starting to build on our skills and we're going to do something a little bit more complicated. 5 00:00:15,840 --> 00:00:22,080 So based on what we've learned, you're going to write an awful statement and then write an if else, 6 00:00:22,080 --> 00:00:23,240 if else statement. 7 00:00:23,250 --> 00:00:24,620 So that's just the one that has else. 8 00:00:24,720 --> 00:00:25,590 It's in the middle. 9 00:00:25,590 --> 00:00:32,640 And then you're going to convert your if else and if else, if else statements into ternary statements. 10 00:00:32,860 --> 00:00:36,810 Remember, that's the one with the question mark in the colon. 11 00:00:38,040 --> 00:00:43,740 OK, and then you're going to take your if else, if else statement and make it into a switch statement. 12 00:00:43,840 --> 00:00:46,730 OK, so you could be as creative as you want. 13 00:00:46,750 --> 00:00:51,060 Do whatever you want to do with this and we will see you in the solution. 14 00:00:51,810 --> 00:00:54,600 But go ahead and take as much time as you need. 15 00:00:54,960 --> 00:01:00,300 I would recommend just taking about 20 minutes or so and just come up with some easy examples. 16 00:01:00,750 --> 00:01:07,830 You could use Pets', you could use fruit, you could use college majors, you could use biggest cities 17 00:01:07,830 --> 00:01:11,310 in your country or in your state, anything like that. 18 00:01:11,550 --> 00:01:17,790 So just come up with a few different things, start with some variable that has a value, and then check 19 00:01:17,790 --> 00:01:23,520 if the value of that variable or you could use multiple variables and just see how they relate. 20 00:01:23,790 --> 00:01:27,210 OK, so let's start with that and we'll see in the next video.