Not really setting up our mode of logistics, and for that purpose, let's import our use a global context.
And this is coming from our context, the G6.
All right, so now we have imported OpenText Logistics.
Now what you need to do is that we will be distributing our data.
And if I just look at it from a context logistics, we are not in agreement of all this data.
We'll just be needing our model, will be needing our close model method as well as our questions.
And apart from it, we'll also be needing a correct.
So let's just head back into our model strategy six and restructure them.
So we'll be needing a model that is going to have the state, whether our model is open or not.
Apart from its close model.
And then again, this is the method to close our model and after this method would be an incorrect state
and the questions.
No, this is going to be able to use global context.
All right, so now we're having our data.
Now we need to assign this data to a different birth as well as glasses.
So in the first place will be assigning it is inside a class name.
This is going to have this is going to be a template string because models are supposed to open dynamically,
right?
And as well as you have a different properties with a class name and the model is open.
And when the model is closed.
So now after this class name, what are we to have?
Just get rid of this model contain is open and inside this place a curly braces.
Now back picks.
And inside the backpacks will be heading into the sets of curly braces and a dollar sign.
So now, if our model is open, that means if a model is open, so if model is open.
Then we won that last name to be assigned as model.
Container.
Is open.
And if this is not the case, that means if model is not open, then what they want is that then we
want.
Modern.
Container to be the class name of this particular live.
So now this is the first thing that we do know that if our model is open, then we want the classroom
to be more container container.
Modal container is open.
And if that's not the case, then we want the classic to be model van.
And that's it.
Now, apart from it, will be wanting to assign percentage of questions that we have done right.
So for that purpose had to be done and inside the PDA.
What I need to do is that get rid of this.
You answered questions correctly know it is going to have the dynamic value.
Now inside of it, Doug will be getting the percentage of answers that are that a user has been correct,
so you answered.
Now it is going to take up a present value, so you would of fully races.
And now again, brackets so.
Correct.
Up on number of questions that are the.
Not lend.
Times hundred, right, so again, it is going to be inside brackets.
Times.
Now we want it to be fixed to hold numbers, we do not want any sort of a.
Point values after hours and days, we just wanted the percentage to be like 20, 30, 40, 50, 70,
80 or 90, we do not want ninety nine point six percent or two point three percent like that.
So we just give it to fix.
And we want it.
And we're passing zero to it because they do not want any sort of decimal point after it.
And after this put up a pleasant sign.
So it is going to speak out that you are on.
So maybe 30 percent of questions correctly, 40 percent of questions correctly, depending upon how
many questions I wouldn't correct.
Now a days and there's a there's another.
Button that is going to have the property and this is going to have the functionality to close our model.
And this is going to be a sign, a close model.