Well, adding your access from the citizens file is definitely an option, we also can do it directly
in the GAO ASX.
Now, for my example, I will pick my hunting for just please keep in mind the same rules would apply
for heading one or image or article or whatever a moment we are placing.
Now, of course, I'm doing the air quotes right now around the moment, and of course it is a six on
the way we do that.
We need to add a style attribute on that particular element.
So.
I'm going to look for my ring for and then I'll type here style now in the following videos.
We will take a look at what it actually means as far as the.
But for now, just remember that if you would want to access JavaScript world in the joy of sex, you
would need to set up here curly braces.
Now, why am I setting up of these curly braces?
Well, because in order to set up values for the style, the gotcha is that you need to have a JavaScript
object, meaning object and learn.
All the properties are going to be as a JavaScript powers like you would have in the object.
And you'll see what exactly that means in a second, not why am I telling you all this is because once
I'm in the JavaScript world here with these curly braces, of course, in order to create an object,
I would need to set up another pair of curly braces and a lot of times for students.
This is confusing where they think that this is somehow a special syntax.
In fact, it's not.
It only means that if I set up here these curly braces, I'm back in just one.
So, for example, I can type whatever I would want as far as the JavaScript.
Now, of course, that whatever in this case is just an object, OK?
That's why we have these double curly braces.
So we're the first ones.
We go back to JavaScript world and of course, we will cover the other things that we can do as far
as JavaScript in following videos.
But for now, we only want object.
So that's why we have another set of curly braces.
So what we could do is, of course, set up the style.
And like I said, this is JavaScript.
Now, what that means is you cannot write property like this because you're setting up a JavaScript
object.
How that would look like, well, for example, if I go with color, it's somewhat straightforward.
We're not is my property now.
I don't need to capitalize it or anything like that.
However, as far as my value, I cannot simply go with one RTM notice.
It spreads back error because in JavaScript, of course, we have properties and then values.
So in this case, all your values must be in quotation marks from here.
If I go with hash tag and then six or seven.
And then I'm going to go D nine eight, of course, I'll change the color of my heading for that, I
would want to go with Fonz's and this is the case where I will have to capitalize because again, I
cannot write font and then hyphen size.
Now I have to go with font size.
And again, the same thing.
Values must be in quotation marks.
So we go with zero point seventy five Akiyama's so a little bit smaller.
And then also let's add a margin to the top.
So we're going to go with margin and then Ganu set it out to be zero point twenty five Arias.
So once we say notice how we nicely apply those styles.
Now one thing we need to keep in mind though that when we add these styles of this way so directly in
the.
This is set up as in line.
So what that means is that, of course, we know that when we set up something in line and notice this
is what I'm talking about, then of course, if I'm targeting the same element from this excess from
my index, just as in this example, of course, rolls, whatever I'm applying.
Are not going to be added.
Why?
Well, because in success is more powerful than the one that's coming from the success.
For example, if I were to go here and say book online, what I was using, I think heading for if I'll
try to change the color so color to red, you'll see that that is not possible.
That's not going to work.
However, if it's a property that of course I haven't added, like, for example, letter spacing and
I'll set it equal to five pixels and of course it will be applied.
So what I'm trying to say is that be careful when you start adding these cases here in the Jena six,
this will right away go in line.
And once it goes in line, it is stronger than the cases that you're adding from your specific case
file.
Now, why am I telling you that?
Because, of course, later, as you're progressing with the react, you will start using some libraries.
And a lot of times in those libraries, there are some properties that are already added this way.
So when you're targeting from us, it looks like you're not applying those properties.
But always, always double check whether the library that you're using hasn't already added those types
in line.
And then, of course, you would just need to figure out how you can override that.
OK, so that would be another way, how we can access and react.
And that also underscores another point that I would want to make.
One thing about react is there's always multiple ways how you can do the same thing.
So my job is to show you what other options and then your job is to decide which route I'm going to
take.
And I would suggest a judging that on your experience and on your project, not on whatever the influencer
is saying on Twitter, because at the end of that, you're going to be one working on a project.
So my preference, of course, is at least setting up in the US now in general.
My preference, of course, is using success in jazz, but that is my preference.
That doesn't mean that it is some kind of rule.
No, it is just my preference because I find it easier to work in the US and then just add classes if
you prefer this type of way.
There's nothing stopping you from applying your styles of this way.