OK, guys, here we had the speech and we will talk about the if function, the first thing we will
do right here is to get the FS1 the same as I did here.
And then here we will type the script.
We will make sure f and then we pull up in a print and inside the bracket we will type the condition
new.
We will make for the date date.
Just get ours.
So here is the condition.
Anything your dad did get ours is smaller than 18.
So I want to change the all of this part to be having good days.
We can make here valuable, already able to document that requires Lechter for the actual work.
And here we can make DOT either esteemable to be happy.
The content of the day, we can just go and reload.
So here we got the goodday because it's smaller than 18.
OK, and for this part, we can talk about the Elst function.
Well, if they want to make on another condition here, I want a function, but else I want something
different to be happened.
Let's try to make it OK.
We can make this be larger and here we can type out this evening with that here nothing.
And then we can.
Migg Aigner A.M. to be having a good day, we can go here.
So here we got the gate dange because it's less than 18.
It's seven right here.
OK, after this part we can talk about the L f let's just first comment, all of that and.
Comment because we believe the different method for the vehicles.
OK, and here the first thing we will do is to set up a function
and then we can make my function or we can make it in the form of event lefthander.
We can get this one right here or we can make document dot Guayama selector for one shot at event listner
for the click function.
And here we can either function with empty parameters and open the project.
And the first thing we will do here is be very bold of growing things that we will leave it empty,
just close the line and then here we will give a very bold for the time variable for the time to be
equal to date for and get our get ours.
OK, that's good.
And then we will.
First things first.
We will use the if function if the first condition to be for time is less than 10 for the less than
10.
I want you to print it.
Great.
And I want the variable of to be equal to good margin.
This is the purpose.
Other variables.
It may contain different content and about the function.
So it would be having different content and it will depend on the function.
And then here we can make Alice.
And folks else we can make great teams be able to get into evening.
OK, we got here and out of this one, we can just make a document or we can just bring in our team
out to be equal to the great teams.
We don't need to type the double quotations because it's a variable.
We can just go to the Web page right now.
What's the problem here?
OK, OK.
And the one we can make this one to be we didn't close the line here.
So what's the problem?
We get something wrong with this parts and we need to check it.
Yes, yeah.
The click function we can type here like me when we click here.
So here we got.
Good morning.
We will make it.
Good morning.
OK, that's good.
Here we got the good morning.
But let's say that I want to add here, a third condition will be different from the else.
There's a something which is called LTH.
If we can just go here and add value add and then we can add another condition.
This time will be less than 20 to Pickerington equal to good day.
We can just go to the speech and only load like me.
So here we've got good morning because it's already less than ten.
OK, that's good.
Now we know about the if and the if.