Now, we are here in the online editor of Bardell, the online editor, and here you can see how Bible
compiles your more interactive.
It's called to the function or JavaScript code of your browser.
So this is the site of Babel.
It can come here to put your Bible test that I oh, this is the website of Bible.
You can see there is a JavaScript compiler and we are going to click on trying it out here.
Just click on straight thoughts.
And here we are going to make some comparison between the modern its roots caught in the functional
JavaScript code.
So what is the functional JavaScript code function?
And JavaScript code is a in JavaScript code, which is interpreted by barbel, OK, from demurrage JavaScript.
That's means Babille, take your modern sophistries court and text Desmoulins of a court and interprets
these models of a shortcut to the functionality of a circuit court in order to meet Vuit, your browser.
OK, this is important, but I have already
talked with you in the last video.
So here us say, for example, we are going to use the six, but also take your code, take uses, uses
code and translates your words of your JS.
This code in itself as a function of JavaScript code, which is compatible with your browser.
So this is what we say.
That's but is it JavaScript compiler because there is also interface.
It's OK for your you wait elements inside of your JS projects.
So the first thing we're going to do is to create the same thing that we gave the C in our positive.
So what we're going to see here, I want, for example, to create a user interface in which I'm going
to have about one end in which I'm going to have or I'm going to have also a much tag, OK?
And they all will be inside of a Paris def, OK?
And instead of corporate def, we're going to get a button and set of our if we're going to have a second
element, which is B def having a class and instead of class instead of this second def.
OK, the second element of preparing def we are going to have in each one in which we're going to return
for example.
Hello everybody.
So the first thing I'm gonna do, I'm going to come here to what.
My day.
A six or more of records.
OK, I'm going to say for example I want to live on this like this.
And we'll say, you write like this and you can see we have nothing in our output's, you can see we
have Eera here like this and it's like in.
And if I continue, because we have also here used threats like I'm going to say like this, Steve.
OK, so now you can see we have you straight and we have this.
OK, this is the open talk in the closing of a give and bubble will take this the sixth notice.
It is not H.M., but it is the six.
But they will take this model and it is a day six, OK, this day six and a compulsion, these day six
in JavaScript, a functional JavaScript code, which is B Witchey, which will be compatible with a
purpose.
And in order to create this and it will be react, not create elements, we have def and we have the
second parameter which is null.
So you can see barbel take this more edge model or just case.
It is the six year.
We'll take this court and that integrates these codes in a compatible to the streets of our region where
you can see we have these codes and our brother, we understand these codes.
OK, so in order to create the fear, OK, by using the six, our compiler and our brother will understand
this code.
OK, if you want to create a if you're going to say reacts, that creates elements.
And here we have two parameters.
The first parameter is the elements that you want to create, which is def.
You can see we have Nief and the Siggins parameter is the property of your elements, which is here.
In our case, the property of def is equal to null because we don't have property in R&D.
But if I try for example, to say I want to add a property in my district court in Div, I'm going to
call it, for example, class name like like I said in the last video.
OK, it is not the issue, but is you will see a game where we have where we had the null, like we
don't have any more null but we have it new a value which is class name OK, which is the property of
our def.
And once you remove your property, ok, your second parameter is going to be equal to null.
OK, you're going to see we are going to have not like this.
This is the first thing and the second thing we are going to create, this is our which is the parents
element and the second thing we going to create is our son.
OK, I'm going to say about something like this.
But some like this, OK, and you're going to see we have a in of our ÉDITH, so how to how a bubble
takes these codes, this Dix's and compares them to the functionality of a script in order to be in
order to be compatible in our browser.
So how reacts that creates elements.
And we have our first elements, which is teeth and like is the first elements, the opening of our
brackets is here and the closing of our brackets for the first elements.
Div is here because this def is the parents elements of button and you can see.
We have three we have now three parameters, a different parameter to is the elements that we have here
in our parents elements, which is Deth.
The second perimeter is null because we have nothing like property in our Ardith and Difret perimeter
is the contents of our teeth because button is the content button is not a contact authorities.
OK, and in order to write this button, because it is in our elements, we are going to say also react,
not creates elements.
And we have Budson, which is our elements.
We have Cuma and the property which is equal to null because everybody doesn't have it property.
So let us siphesihle to grab this.
I'm going to say for example, Ed or something like this, you will see if you put the contents inside
inside of your take.
OK, in, in this method, which is the second method you are going to at effect property here.
The first property is the element that shows that you want to create.
The second property is the second parameter.
The second parameter is.
And the property of your your take and the Fed is the contents, so that's why when we put a when we
put a here, OK, you're going to see it is an element and bubble is going to create the second element,
which is the reason why you can see we have it here as if like a Fed perimeter, OK, we have Martun
property is equal to null.
And if we try to add something here, we'll say it and it will add the Fed property in a box on elements.
OK, so this is the importance of Bardell.
So let us try to aid the distinctive.
OK, we are going to say this.
Like this.
Yes.
Give it a second, you will see we have this is the first perimeter, all these are the contents of
our of our parents elements.
We have Batman and Steve.
So you can see here first for the first, then.
Elements here we have creates elements and we are going to put also comma to add not content, which
is creates the riot that creates elements, which is death and property is equal to murder.
And all of them are included in a set of all these elements which is here.
OK, so it is very simple.
And if I try to add, for example, here, a class name, I'm going to say.
Last name and here I'm going to put this in just a sec of our death here, we are going to create you
can see we have an.
Yes, this year, property, which is a class name, and if that parameter or content is going to be
in each one site.
OK, so what would I say to say each one, Saige?
Lattice in which we're going to say, hello, everybody.
In which we're going to say hello, everybody, but very good history we have now.
Hello, everybody.
We have it like this.
They're important, and I think that it was a very simple thought, you OK, you can see lot is a third
component elements of our second.
If you see we have those creates elements, which is the fear and the thing.
And the second thing is the property, OK?
And defrayed perimeter is the contents.
And we are going to create a content in such a content instead of our elements here, like a third perimeter,
we're going to have react that creates elements.
We have each one like we have now, OK, which is because we don't have a perimeter and we are going
to have everybody, which is our contents.
So this is the importance of Babille.