1
00:00:01,400 --> 00:00:08,090
OK, so now what we'll do is we'll add functionality to our input fields right now, whatever we Typekit

2
00:00:08,090 --> 00:00:09,740
is not getting stored anywhere.

3
00:00:10,460 --> 00:00:14,180
So what we'll do is we'll add a function to this input.

4
00:00:14,600 --> 00:00:21,080
You can define the function outside and we can call it ahead while we're giving the on genge function

5
00:00:21,080 --> 00:00:21,450
inside.

6
00:00:21,450 --> 00:00:24,410
Don't change function, but I can do it in line.

7
00:00:24,410 --> 00:00:29,960
Also, that's more convenient, and that is not so much of core that I can activate it outside, so

8
00:00:30,050 --> 00:00:30,950
I'll do it head on.

9
00:00:31,090 --> 00:00:40,830
So it will be on change and inside this, I will be passing a function so that would be event events

10
00:00:40,920 --> 00:00:41,450
and start.

11
00:00:44,190 --> 00:00:51,110
And thought of it or thought, now I will take the text, so I will use text.

12
00:00:52,220 --> 00:00:54,380
They're next.

13
00:00:55,120 --> 00:00:58,300
Well, me and or it are.

14
00:00:59,850 --> 00:01:00,390
And you.

15
00:01:01,240 --> 00:01:07,570
OK, so I'll do the same thing to the amount also like whenever I type any amount, so that amount should

16
00:01:07,570 --> 00:01:08,830
be stored on that.

17
00:01:09,280 --> 00:01:11,050
So I'll call on change.

18
00:01:12,550 --> 00:01:16,750
And inside on June, I will call them friend.

19
00:01:18,050 --> 00:01:21,370
That should be said among.

20
00:01:22,930 --> 00:01:25,810
There shouldn't be event or radar.

21
00:01:27,090 --> 00:01:32,250
Well, you know, this is all about saving.

22
00:01:33,670 --> 00:01:34,040
And.

23
00:01:35,420 --> 00:01:40,790
Happened and the button is already taking the action by one submarine.

24
00:01:41,420 --> 00:01:44,600
So this was an ad transaction.

25
00:01:44,780 --> 00:01:47,930
Let's go to the balance action.

26
00:01:48,870 --> 00:01:54,600
The balance board we have right now is completely hardcoded thing, nothing.

27
00:01:55,050 --> 00:01:57,960
No logic and reason at all.

28
00:01:58,560 --> 00:02:00,030
So that will do.

29
00:02:00,150 --> 00:02:05,880
First of all, let me in for the global context so that we.

30
00:02:07,430 --> 00:02:10,190
Global context, one global state.

31
00:02:11,420 --> 00:02:17,930
All right, next, now what we'll do is we'll add the money for motor function, for this function wheel

32
00:02:17,960 --> 00:02:25,250
and everywhere so that it gives just like decimal values and the positive values like we, we never

33
00:02:25,250 --> 00:02:29,890
want a negative amount of money.

34
00:02:29,900 --> 00:02:30,320
All right.

35
00:02:30,860 --> 00:02:33,770
Or if it's negative, we should just show zero.

36
00:02:34,370 --> 00:02:36,920
So that is what we are going to do now.

37
00:02:37,450 --> 00:02:42,770
And for that, I need to bring it up on function to.

38
00:02:44,400 --> 00:02:46,460
Inside the red zone and this.

39
00:02:50,140 --> 00:02:52,660
Basically, I can create another function for that.

40
00:02:53,750 --> 00:02:57,440
Oh, I'll do it here only, but that will be function.

41
00:02:58,850 --> 00:03:04,070
Function and led me to Australia to comment that the money from.

42
00:03:05,420 --> 00:03:06,260
The money.

43
00:03:08,520 --> 00:03:09,180
But Max.

44
00:03:11,660 --> 00:03:12,260
Function.

45
00:03:14,870 --> 00:03:24,320
Inside missiles at a function function, and the name will be money, not that like small only money

46
00:03:25,070 --> 00:03:25,790
for a man.

47
00:03:27,930 --> 00:03:31,710
Inside the that will be an agreement that will be numb.

48
00:03:32,310 --> 00:03:33,390
So now I will.

49
00:03:35,620 --> 00:03:40,600
Let fee so that fees now start to fixed.

50
00:03:42,650 --> 00:03:43,330
If fixed.

51
00:03:45,060 --> 00:03:45,410
Extra.

52
00:03:47,310 --> 00:03:58,410
Then it will split by doctors like whenever something goes like in so that when you will come out after

53
00:03:58,410 --> 00:03:58,830
the.

54
00:03:59,920 --> 00:04:01,720
Sort of split.

55
00:04:02,970 --> 00:04:03,990
But it would be a dark.

56
00:04:05,360 --> 00:04:06,170
After that.

57
00:04:06,880 --> 00:04:10,090
In a written statement for this function on.

58
00:04:12,260 --> 00:04:19,760
For return, first of all, be warned, there are few on the rupee symbol to get their done, so their

59
00:04:19,770 --> 00:04:20,990
distribution will head.

60
00:04:21,010 --> 00:04:31,430
It is so after the rupee symbol, we'll add some more things which will add up like the and array will

61
00:04:31,430 --> 00:04:33,830
be containing the zero element.

62
00:04:34,370 --> 00:04:36,740
And this is what I'm talking about.

63
00:04:37,310 --> 00:04:39,440
So next we'll start.

64
00:04:41,290 --> 00:04:43,150
Late or.

65
00:04:44,660 --> 00:04:54,320
Let this split, and that will be and like, I'm very sorry, empty string, and then it will be reversed.

66
00:04:57,760 --> 00:04:58,900
That is a function.

67
00:04:59,610 --> 00:05:01,890
No, next will call that reduce.

68
00:05:05,170 --> 00:05:13,290
And it will expect to function, of course, function so that there will be arguments found.

69
00:05:15,310 --> 00:05:15,850
I.

70
00:05:16,970 --> 00:05:17,570
What did you know?

71
00:05:18,960 --> 00:05:21,930
So this is what caused this.

72
00:05:22,650 --> 00:05:32,100
And next, we'll have the read on inside, this would have done well in some ecological too.

73
00:05:32,610 --> 00:05:33,830
And this is a good thing.

74
00:05:33,840 --> 00:05:43,770
OK, so like re equal to means it will it will get it will compare for the value also and the data type

75
00:05:43,770 --> 00:05:44,160
also.

76
00:05:44,460 --> 00:05:49,650
For example, there are two values like 33 33 is an integer.

77
00:05:50,070 --> 00:05:58,440
But if we compare this category with a string of 33, maybe it will show it will show like the but with

78
00:05:58,440 --> 00:06:04,470
the political equals, we will master data type or data types should also be seen.

79
00:06:05,140 --> 00:06:07,800
So that will be like this.

80
00:06:09,570 --> 00:06:18,150
And if this is true or the on will be known loss of.

81
00:06:19,510 --> 00:06:26,050
This I am and I'll explain you everything once once I have done like with this.

82
00:06:27,170 --> 00:06:27,620
For.

83
00:06:29,090 --> 00:06:29,580
The best.

84
00:06:31,560 --> 00:06:33,750
So what we are going to do is now.

85
00:06:35,630 --> 00:06:36,080
And.

86
00:06:37,560 --> 00:06:40,900
Won't just be another one.

87
00:06:41,720 --> 00:06:42,120
I.

88
00:06:43,250 --> 00:06:52,730
More of three, why I'm doing this and going back to on this, for now, there will be a comma.

89
00:06:53,560 --> 00:06:55,830
It's like why we are giving giving.

90
00:06:55,910 --> 00:06:58,310
Come on, this is like ten thousand.

91
00:06:58,700 --> 00:07:01,070
So after ten, we have to give up.

92
00:07:01,070 --> 00:07:08,360
Come on, then three zeros like thirty thousand to three zero comma and then again, three zero.

93
00:07:08,390 --> 00:07:09,950
That is why this comma is dead.

94
00:07:10,640 --> 00:07:11,540
I don't understand.

95
00:07:14,810 --> 00:07:16,840
Next, we have this and.

96
00:07:18,920 --> 00:07:19,970
That said, I guess.

97
00:07:22,160 --> 00:07:23,450
By the time this.

98
00:07:26,920 --> 00:07:30,550
So now what we are going to do is.

99
00:07:31,820 --> 00:07:33,290
We are less.

100
00:07:34,640 --> 00:07:36,650
And this will be added to the account.

101
00:07:37,310 --> 00:07:50,330
And after that, we would have like empty string here and next we'll add it to dark.

102
00:07:51,820 --> 00:07:59,530
Same as I said, like we need to add a thought, if that is if that's going beyond the integer, if

103
00:07:59,530 --> 00:08:06,010
it's getting flawed, so there will be and next we'll have a paragraph like this and it would be off

104
00:08:06,010 --> 00:08:06,280
one.

105
00:08:07,090 --> 00:08:11,050
So that is what we have done.

106
00:08:11,350 --> 00:08:13,120
I hope this completed.

107
00:08:14,550 --> 00:08:20,490
No, but here I left out a comma, so this money for mental village using every component, so that's

108
00:08:20,510 --> 00:08:21,950
I mean, just created once.

109
00:08:22,170 --> 00:08:25,020
Next, we'll be using this and the other components.

110
00:08:26,200 --> 00:08:33,730
Next, what we do with this inside the balance function will air and concert, and this will be all

111
00:08:33,730 --> 00:08:38,050
the transactions transactions.

112
00:08:39,300 --> 00:08:49,290
And though the soon to be introducing the context, basically the global context known on on on the

113
00:08:49,290 --> 00:08:50,190
global context.

114
00:08:54,590 --> 00:08:55,370
Inside this.

115
00:08:56,910 --> 00:09:01,200
And now we had the amount you like, what the amount we have to play.

116
00:09:01,710 --> 00:09:07,740
So that amount will add in the cornerstone and that amount would be amount.

117
00:09:10,540 --> 00:09:17,740
So that's transact for start map now we are mapping the transactions, so.

118
00:09:18,710 --> 00:09:22,470
Transaction that it would be a single transaction.

119
00:09:23,660 --> 00:09:30,770
Then we'll have a federal function and the fact that we don't need actually the clearances for transaction

120
00:09:31,280 --> 00:09:31,850
start.

121
00:09:33,760 --> 00:09:34,390
Amount.

122
00:09:35,740 --> 00:09:42,880
Basically, what amounts so that is what in the next we'll have another concern we could be storing

123
00:09:42,880 --> 00:09:52,000
the total value of the total amount of total would be equal to amount, amount or reduced not to reduce

124
00:09:52,000 --> 00:09:54,110
the like things.

125
00:09:55,440 --> 00:09:58,560
This is the countdown is next.

126
00:09:59,050 --> 00:10:02,370
It's also expected to function, and this is a federal function.

127
00:10:03,190 --> 00:10:06,930
So again, I don't need clear basis and will be gone.

128
00:10:07,820 --> 00:10:16,400
Plus, this would be like added items will be added and then it will be displayed next.

129
00:10:17,160 --> 00:10:20,670
You do this and now when I.

130
00:10:21,870 --> 00:10:29,900
Want to display my amount here, so what I can do is that I order and use my money for motor function.

131
00:10:30,290 --> 00:10:32,510
So I'll call the money for my function.

132
00:10:33,340 --> 00:10:35,470
And each one, so that's going to be money.

133
00:10:36,450 --> 00:10:37,140
Formatter.

134
00:10:39,980 --> 00:10:40,810
Would be toward them.

135
00:10:42,480 --> 00:10:44,610
We told them we're going to save this.

136
00:10:45,790 --> 00:10:47,710
And I see my server up and running.

137
00:10:48,640 --> 00:10:52,930
And there's no no problem so far, things are working quite well.

138
00:10:53,530 --> 00:10:56,620
So now what we will do is we will go back to.
