Action and indecision.
We are going to talk about conditions in reactivates a freezing port here for the Siggins A for free
Siggins use of Ouray is for sale and use of components of these components, the car components.
We are going to remove these kinds of components.
We are going to pass the brains is parameter in array components.
Here to say, for example.
Branes.
He's going to be.
It caught through.
Yes, merciless, and we are going to use the closing time.
Components like this, by default, if you tried to make sure you're going to see for the same gains
for the second table division, we are going to have it named in the brains.
Yes.
In our table and how to solve this problem.
We are going to use conditions in reality.
So let us begin.
Our Riccardo's is.
What are we going to do for the first time is to use the health condition, so make sure to be inside
of your reindeer function and we are going to declare a variable that's named Brains Layout's brains.
And here we're going to say if El's.
Pregnancy is.
Like this, intriguing to see if.
This not frappes.
Not to drink.
That means if, um, the components as it is ring is can see here because the components has its children,
for example, in in this case for different components.
And the third one, you can see we have children in such here because the parent is between our take
because we have used it's the closing and the opening tag system indicates we use, for example, the
closing tax system.
We do not have scissoring.
And here we are going to set this condition.
If these props, not children, that means we are going to take their brains.
Regner say brains is going to be equal to these not props children like this.
His Brent is going to be equal to this frappes.
This frappes.
Brains and here brains is like is a parameter here either is if it is considering we are going through
a lot to affects the brains of.
These dots perhaps do things right.
And here we are going to remove these dots, props dot scissoring.
We're going to say brains.
We're going to put the brain variable like this.
And if we try to, we have leads.
Let's bring what Iris's.
OK, no, no, let's equal let's rinse sorry, different variable like this, excuse me, and like this.
Yes.
And we set this condition and here we cannot put brains and ladies back here.
Ladies, reload page.
OK, as you can see, the problem is solved.
As you can see here, we have succeeded to solve this problem.
And we have out there you in such here in the Fagin's table divisions.
So this is the first week when you use Resample the chief and as a condition, but you can also use
the term air condition.
Let us commence our days.
We are going to use the term condition going to come down here, or are you going to say this?
Not perhaps.
Not to drink.
That is, and put the semicolon into the question mark and we are going to put our execution in such
here, tells orders, if this condition is the first condition is not true, we are going to put it
not the execution.
And here going to say if.
His condition is true.
You're going to put it like this in here, you're going to see this for us.
Brains like this.
Very good, and they here can say Brent is not defiant and we are going to say cos we're going to create
a contest name, it's brains like this is going to be called like this.
Very good day, Brent is not defined, it is here, so not this brain's not as solid as for soul.
Back, as you can see, a line, it's a science line, as you can see here, for the first of a first
role in this line, we need to assign we need to create a consciousness of a variable in which we are
going to assign this value for this segment here.
You can see here in the 26 Brint is not defined.
It's the reason why we are going to create a consciousness is can see here to solve these two problem.
And here is you can say we have solved this problem and if we try to make here, we are going to get
the same thing.
So you can use the if earth condition or you can use force to return it.
But we have also in other conditions, which returns only if the condition is true.
So I want to show you this condition.
I think that it is very important and very important because we are going to be using also this condition
in a project.
So it is common.
First for this, we are going to say, for example, costs brains.
He's going to be equal to this lot, perhaps we are going to say, is this condition true scissoring
and put latticed percent.
Yes, if this condition is true, that means you're going to put this cards like this, these props
scenes right here inside here, OK, and this condition returns only a true if the condition is true
and then it will return this it will return is called this execution order is if the condition is not
true, these type of condition is not favorable.
This condition is available only if your condition is true.
You can see and if it's right to make sure it's right to reload the page, you're going to see here
the condition is false.
And I have an empty table division, so I need to show you this condition.
Keep it in your mind.
We are going to be using also this condition in the case of our condition is true.
So let us commence this.
I'm going to commence.
Are this problem here?
It is big here and there, a lot of page.
Reload.
We're going to get the same thing.
Very good.
So we are going to continue through the next video.