1
00:00:01,050 --> 00:00:06,390
Not really setting up our mode of logistics, and for that purpose, let's import our use a global context.

2
00:00:16,180 --> 00:00:19,390
And this is coming from our context, the G6.

3
00:00:28,440 --> 00:00:30,870
All right, so now we have imported OpenText Logistics.

4
00:00:31,380 --> 00:00:34,080
Now what you need to do is that we will be distributing our data.

5
00:00:34,440 --> 00:00:39,990
And if I just look at it from a context logistics, we are not in agreement of all this data.

6
00:00:40,410 --> 00:00:45,990
We'll just be needing our model, will be needing our close model method as well as our questions.

7
00:00:46,200 --> 00:00:48,210
And apart from it, we'll also be needing a correct.

8
00:00:48,810 --> 00:00:52,050
So let's just head back into our model strategy six and restructure them.

9
00:00:52,950 --> 00:00:58,370
So we'll be needing a model that is going to have the state, whether our model is open or not.

10
00:00:58,420 --> 00:01:00,090
Apart from its close model.

11
00:01:01,500 --> 00:01:08,070
And then again, this is the method to close our model and after this method would be an incorrect state

12
00:01:08,880 --> 00:01:10,210
and the questions.

13
00:01:12,060 --> 00:01:15,480
No, this is going to be able to use global context.

14
00:01:19,620 --> 00:01:21,180
All right, so now we're having our data.

15
00:01:22,050 --> 00:01:25,110
Now we need to assign this data to a different birth as well as glasses.

16
00:01:25,650 --> 00:01:29,130
So in the first place will be assigning it is inside a class name.

17
00:01:29,160 --> 00:01:35,520
This is going to have this is going to be a template string because models are supposed to open dynamically,

18
00:01:35,520 --> 00:01:35,820
right?

19
00:01:36,270 --> 00:01:40,080
And as well as you have a different properties with a class name and the model is open.

20
00:01:40,350 --> 00:01:41,580
And when the model is closed.

21
00:01:41,970 --> 00:01:44,280
So now after this class name, what are we to have?

22
00:01:45,150 --> 00:01:50,850
Just get rid of this model contain is open and inside this place a curly braces.

23
00:01:51,090 --> 00:01:52,410
Now back picks.

24
00:01:53,460 --> 00:01:59,690
And inside the backpacks will be heading into the sets of curly braces and a dollar sign.

25
00:02:00,980 --> 00:02:06,980
So now, if our model is open, that means if a model is open, so if model is open.

26
00:02:09,770 --> 00:02:13,610
Then we won that last name to be assigned as model.

27
00:02:15,510 --> 00:02:16,200
Container.

28
00:02:24,060 --> 00:02:25,020
Is open.

29
00:02:25,530 --> 00:02:30,510
And if this is not the case, that means if model is not open, then what they want is that then we

30
00:02:30,510 --> 00:02:30,930
want.

31
00:02:32,670 --> 00:02:33,120
Modern.

32
00:02:35,480 --> 00:02:38,420
Container to be the class name of this particular live.

33
00:02:38,840 --> 00:02:44,000
So now this is the first thing that we do know that if our model is open, then we want the classroom

34
00:02:44,000 --> 00:02:46,360
to be more container container.

35
00:02:48,080 --> 00:02:49,640
Modal container is open.

36
00:02:49,760 --> 00:02:52,490
And if that's not the case, then we want the classic to be model van.

37
00:02:53,120 --> 00:02:53,750
And that's it.

38
00:02:54,050 --> 00:03:00,710
Now, apart from it, will be wanting to assign percentage of questions that we have done right.

39
00:03:01,130 --> 00:03:04,850
So for that purpose had to be done and inside the PDA.

40
00:03:04,860 --> 00:03:06,390
What I need to do is that get rid of this.

41
00:03:06,430 --> 00:03:09,560
You answered questions correctly know it is going to have the dynamic value.

42
00:03:12,110 --> 00:03:16,850
Now inside of it, Doug will be getting the percentage of answers that are that a user has been correct,

43
00:03:16,860 --> 00:03:18,560
so you answered.

44
00:03:21,100 --> 00:03:24,990
Now it is going to take up a present value, so you would of fully races.

45
00:03:25,630 --> 00:03:28,460
And now again, brackets so.

46
00:03:28,720 --> 00:03:29,260
Correct.

47
00:03:30,500 --> 00:03:32,630
Up on number of questions that are the.

48
00:03:33,820 --> 00:03:34,630
Not lend.

49
00:03:36,450 --> 00:03:40,350
Times hundred, right, so again, it is going to be inside brackets.

50
00:03:42,650 --> 00:03:43,250
Times.

51
00:03:45,390 --> 00:03:51,900
Now we want it to be fixed to hold numbers, we do not want any sort of a.

52
00:03:53,490 --> 00:03:59,640
Point values after hours and days, we just wanted the percentage to be like 20, 30, 40, 50, 70,

53
00:03:59,640 --> 00:04:05,010
80 or 90, we do not want ninety nine point six percent or two point three percent like that.

54
00:04:05,280 --> 00:04:07,580
So we just give it to fix.

55
00:04:08,130 --> 00:04:09,150
And we want it.

56
00:04:10,970 --> 00:04:14,840
And we're passing zero to it because they do not want any sort of decimal point after it.

57
00:04:15,170 --> 00:04:16,640
And after this put up a pleasant sign.

58
00:04:17,300 --> 00:04:18,950
So it is going to speak out that you are on.

59
00:04:18,950 --> 00:04:25,220
So maybe 30 percent of questions correctly, 40 percent of questions correctly, depending upon how

60
00:04:25,220 --> 00:04:26,420
many questions I wouldn't correct.

61
00:04:28,310 --> 00:04:30,710
Now a days and there's a there's another.

62
00:04:31,920 --> 00:04:37,260
Button that is going to have the property and this is going to have the functionality to close our model.

63
00:04:37,620 --> 00:04:39,600
And this is going to be a sign, a close model.
