Afrikaans
Akan
Albanian
Amharic
Arabic
Armenian
Azerbaijani
Basque
Belarusian
Bemba
Bengali
Bihari
Bosnian
Breton
Bulgarian
Cambodian
Catalan
Cebuano
Cherokee
Chichewa
Chinese (Simplified)
Chinese (Traditional)
Corsican
Croatian
Czech
Danish
Dutch
English
Esperanto
Estonian
Ewe
Faroese
Filipino
Finnish
French
Frisian
Ga
Galician
Georgian
German
Greek
Guarani
Gujarati
Haitian Creole
Hausa
Hawaiian
Hebrew
Hindi
Hmong
Hungarian
Icelandic
Igbo
Indonesian
Interlingua
Irish
Italian
Japanese
Javanese
Kannada
Kazakh
Kinyarwanda
Kirundi
Kongo
Korean
Krio (Sierra Leone)
Kurdish
Kurdish (Soranรฎ)
Kyrgyz
Laothian
Latin
Latvian
Lingala
Lithuanian
Lozi
Luganda
Luo
Luxembourgish
Macedonian
Malagasy
Malay
Malayalam
Maltese
Maori
Marathi
Mauritian Creole
Moldavian
Mongolian
Myanmar (Burmese)
Montenegrin
Nepali
Nigerian Pidgin
Northern Sotho
Norwegian
Norwegian (Nynorsk)
Occitan
Oriya
Oromo
Pashto
Polish
Portuguese (Brazil)
Portuguese (Portugal)
Punjabi
Quechua
Romanian
Romansh
Runyakitara
Russian
Samoan
Scots Gaelic
Serbian
Serbo-Croatian
Sesotho
Setswana
Seychellois Creole
Shona
Sindhi
Sinhalese
Slovak
Slovenian
Somali
Spanish
Spanish (Latin American)
Sundanese
Swahili
Swedish
Tajik
Tamil
Tatar
Telugu
Thai
Tigrinya
Tonga
Tshiluba
Tumbuka
Turkish
Turkmen
Twi
Uighur
Ukrainian
Urdu
Uzbek
Vietnamese
Welsh
Wolof
Xhosa
Yiddish
Yoruba
Zulu
1 1
Now that you have a solid foundation 2
2
of JavaScript, I want to talk a little bit 3
3
about the actual process of learning how to code 4
4
and give you some motivation. 5
5
I think this is an important aspect of a course like this, 6
6
but everyone else simply seems to overlook this topic 7
7
for some reason. 8
8
So let me share my advice on how you should learn to code 9
9
as a complete beginner in this video. 10
10
And to make this a bit more fun, 11
11
I will start by telling you how to fail 12
12
at learning how to code. 13
13
And to do that, meet John. 14
14
So John has been learning how to code for some time now, 15
15
but he is failing miserably. 16
16
He's just not going anywhere. 17
17
I guess, he is just not receiving the right advice. 18
18
So let's see what John is doing wrong so that you can learn 19
19
from his mistakes and learn how to code in no time. 20
20
So the first mistake that John made 21
21
was that he didn't have a clear goal at the beginning 22
22
of his learning journey. 23
23
He simply started by watching some courses 24
24
and reading some tutorials, 25
25
but he would just blindly copy the code 26
26
without caring how it works. 27
27
Even worse, Sometimes he would just copy and paste code 28
28
from tutorials or sites like Stack Overflow. 29
29
While learning, he didn't reinforce what he was learning 30
30
in the courses and tutorials by doing small challenges 31
31
or taking notes. 32
32
He also didn't practice coding outside of the courses 33
33
and he didn't come up with his own project ideas 34
34
to improve his skills. 35
35
Then whenever he did code a bit, 36
36
John would quickly became frustrated whenever his code 37
37
was not perfectly clean or efficient. 38
38
John also lost motivation pretty quickly 39
39
because he thought he could never know enough. 40
40
He could never know all there is to know 41
41
and this is a really big mistake. 42
42
Also, he was just always learning in isolation 43
43
without sharing his process. 44
44
Finally, after finishing a couple of courses, 45
45
he thought he was now a web developer 46
46
and could start applying to jobs, 47
47
but no one would take him because recruiters soon found out 48
48
that he couldn't even build a simple app on his own. 49
49
So that's a long list of mistakes, 50
50
but it's not too late for John. 51
51
We can fix all these mistakes, right? 52
52
So let me show you how. 53
53
So the first mistake is relatively easy to fix. 54
54
What you need to do is to set a goal for yourself. 55
55
Think about this and actually write it down 56
56
on a paper or something, make this goal specific, 57
57
measurable, realistic, and time-based. 58
58
For example, your goal might be, 59
59
I want to become a front-end web developer within one year. 60
60
From there, you can then develop a plan on how to get there. 61
61
It also helps to know exactly why you are learning to code. 62
62
For example, are you trying to switch careers 63
63
or do you want to find a better job 64
64
or are you just starting a new hobby? 65
65
Whatever it is, it's important to be aware of the reason 66
66
why you're doing this, 67
67
because this will help you stay motivated 68
68
when learning becomes more and more difficult. 69
69
To stay motivated, it's also great to imagine a big project 70
70
that you want to be able to build 71
71
by the end of your learning journey. 72
72
This has always helped me tremendously. 73
73
With this project in mind, 74
74
you just need to research the technologies 75
75
that you need to learn and then learn them one by one, 76
76
step by step in a calm way. 77
77
Next up, instead of simply copying code 78
78
from a course or tutorial, 79
79
always make sure that you really understand the codes 80
80
that you're learning and typing into your editor. 81
81
Don't move on if you don't understand. 82
82
Also, always actually type code. 83
83
Don't just copy and pasted from a tutorial 84
84
or a site like Stack Overflow. 85
85
This way, you're training your brain 86
86
to remember the syntax letter. 87
87
Reinforcing is one of the most 88
88
important learning techniques. 89
89
It means that after you learn something new, 90
90
like a new JavaScript feature or a concept, 91
91
you use it immediately to make it really stick 92
92
in your brain. 93
93
You can do this by taking notes and by challenging yourself 94
94
with small coding exercises and challenges. 95
95
For example, let's say you just watched a lecture 96
96
about functions. 97
97
So now you know what functions are 98
98
and you saw some examples. 99
99
But now as a next step, you need to reinforce this knowledge 100
100
by writing a function for your own personal environment. 101
101
For example, you might need to calculate the average 102
102
of your university grades, 103
103
or you might need to convert recipe ingredients 104
104
from ounces to grams while cooking. 105
105
So just write a function that does this task for you 106
106
and have some fun with it. 107
107
Coming up with your own ideas like this and solving them, 108
108
will absolutely boost your confidence 109
109
in your programming skills 110
110
and really take your time with this. 111
111
There's absolutely no need to complete any course 112
112
as fast as possible, all right? 113
113
Now it's absolutely normal that in the beginning, 114
114
it's hard to come up with your own challenges. 115
115
That's why I included countless coding challenges 116
116
in this course for you. 117
117
You can also use a special challenge platform 118
118
like codewars.com, 119
119
where you can find thousands of coding challenges 120
120
for different skill levels for free. 121
121
I have actually solved some of Codewars challenges 122
122
in real life with some students and I can tell you, 123
123
it's a ton of fun and really helpful. 124
124
One of John's biggest mistakes was to not practice coding 125
125
outside of the course environment. 126
126
But practicing on your own, 127
127
is the single most important thing that you have to do. 128
128
And I can't stress this enough, okay? 129
129
Coding your own projects without any course guiding you 130
130
is really not optional. 131
131
If you just follow courses and don't code on your own, 132
132
you will never ever be able to write programs on your own. 133
133
So come up with your own project ideas, 134
134
no matter how small or big and just build them, 135
135
or you can copy parts of popular sites or applications. 136
136
No matter what you do, really challenge yourself, 137
137
make it difficult and grow by overcoming obstacles. 138
138
And then now it's scary to leave the comfortable environment 139
139
of a course where you just have to follow the teacher 140
140
because you will fail and you will make mistakes, 141
141
and it will be difficult to code on your own. 142
142
But getting out of our comfort zone, 143
143
is the only way we grow. 144
144
So don't be stuck in tutorial hell, 145
145
which is exactly the state of not being able 146
146
to leave tutorials. 147
147
There is more about this whole journey 148
148
at the end of this lecture. 149
149
Now, when you practice, you should never become frustrated 150
150
with the quality of your code. 151
151
Do not get stuck by trying to write a perfect code, 152
152
which is really clean or really efficient. 153
153
So none of that matters in the beginning. 154
154
You're still learning. 155
155
So just write as much code as you can, 156
156
no matter the quality. 157
157
Really, clean and efficient code will come with time, 158
158
all right? 159
159
It's just natural progress. 160
160
Also, you can always come back and refactor 161
161
and improve code later if you want to. 162
162
Another important piece of advice I can give you 163
163
and I actually give it to myself from time to time, 164
164
is to embrace the fact that you will never know everything 165
165
there is to know in web development. 166
166
Web development is this huge, huge field. 167
167
And so it's completely normal and acceptable 168
168
that you will never know everything about web development. 169
169
So don't put too much weight on your shoulders 170
170
and create too many expectations. 171
171
So in fact, the best developers and teachers 172
172
have no problem in admitting 173
173
that they do not know everything 174
174
like the legendary Kyle Simpson, 175
175
who admits that even after 20 years, 176
176
it's still a struggle to make his code work 177
177
and understand it the next day. 178
178
So do not lose motivation if you feel the same way. 179
179
Also, do not compare yourself to top developers 180
180
who do know a lot more than you, 181
181
because, of course, they do. 182
182
Many of them have been at this for over 10 years 183
183
or maybe even 20 years, 184
184
but nobody was born an expert and even experts 185
185
are still learning all the time. 186
186
Now here, it's actually pretty important 187
187
that you have a well-defined goal for yourself, 188
188
because if you do, 189
189
you can just focus on what you need to learn 190
190
in order to achieve that goal. 191
191
Everything else is unnecessary, it's just nice. 192
192
For example, if you don't need a backend in your app, 193
193
then you don't need to learn Node.js or PHP, okay? 194
194
The next mistake that is hopefully easy to fix, 195
195
is to not learn in isolation. 196
196
One great way to do that is to learn together 197
197
with other people, no matter if in person or online. 198
198
Whenever you learn something new, 199
199
explain it to them because explaining things, 200
200
forces you to really understand them first 201
201
and repeating a concept will then really 202
202
make it stick in your brain. 203
203
That's why many people say that the best way of learning 204
204
is to teach and I actually share that opinion too. 205
205
Another great technique that many people like, 206
206
is to share your goals publicly, 207
207
for example, on a social network, 208
208
to make yourself accountable. 209
209
You can also share your progress on social media 210
210
to motivate yourself and others. 211
211
For example, on Twitter, 212
212
there are some popular hashtags that people use, 213
213
like #100DaysOfCode, #CodeNewbie, and #weddev. 214
214
If you use these, you'll get feedback 215
215
and a boost of motivation from other people 216
216
that are on the same journey of learning to code. 217
217
It's a really nice and friendly community, 218
218
at least on Twitter, which is what I know and use. 219
219
So for sure, you should try it out. 220
220
And finally, the absolute biggest mistake that John made 221
221
was that, after he went through a couple 222
222
of web development courses, 223
223
he thought that he was now a web developer, 224
224
ready to take a job. 225
225
Now, this is probably the biggest misconception 226
226
that people have. 227
227
Just take a couple of courses and you're done, 228
228
but no, that is just not how it works. 229
229
So I'm sorry to bring you the bad news, 230
230
but courses like this one can only take you so far. 231
231
They will give you an amazing foundation, of course, 232
232
but they're just the beginning of your journey. 233
233
You need everything else that we just talked 234
234
about in this lecture in order to become 235
235
a successful web developer. 236
236
So let's talk a little bit more about this 237
237
and the journey of actually becoming a job-ready developer. 238
238
So here is a very true graph that shows you 239
239
how your confidence in your skills 240
240
changes as you become more and more competent 241
241
as a web developer. 242
242
And this is useful because it allows us to plan a strategy 243
243
for your learning journey. 244
244
So when you start, you are in the, 245
245
everything is awesome phase. 246
246
You are studying one or more or tutorials, 247
247
understanding how the code works 248
248
and taking a lot of challenges 249
249
just like I mentioned earlier. 250
250
Now you're not really competent yet, 251
251
but are starting to get confident 252
252
and are pumped to keep going. 253
253
So this is probably where you are right now 254
254
and will be throughout this course 255
255
or any other course that you take. 256
256
But then as you start practicing on your own, 257
257
you reach the cliff of confusion. 258
258
Here you realize that coding might be a lot harder 259
259
than you thought when you no longer can just follow a course 260
260
with a predefined path. 261
261
So your confidence is gonna start to drop a little bit 262
262
and you might realize you can't build anything meaningful 263
263
on your own yet. 264
264
But don't lose motivation here, 265
265
just keep writing lots and lots of code on your own 266
266
no matter how much time you need to spend fixing bugs 267
267
and searching for solution. 268
268
It's all part of the journey and it's still gonna be fun. 269
269
Slowly, you will become better at writing code, 270
270
so you will become more competent, 271
271
but your confidence might drop even further 272
272
because now you start to realize just how much more 273
273
you will need to practice until it can build a real 274
274
application on your own. 275
275
You are now in the so-called pit of despair, but believe me, 276
276
it's not as bad as it sounds. 277
277
You might start to feel lost, 278
278
but a great solution for this is to start learning 279
279
with other people like other beginners 280
280
or even other developers who might mentor 281
281
and help you along the way. 282
282
To leave the pit of despair, 283
283
you must keep challenging yourself. 284
284
You cannot stop here, okay? 285
285
So keep building bigger and bigger projects, 286
286
run into lots of problems and keep fixing them. 287
287
You really need to have this mindset of fixing problems 288
288
in order to become a web developer. 289
289
It's what we do all day long basically. 290
290
At this point, it's also important to keep in mind 291
291
that learning how to code is a really hard thing to do. 292
292
So don't beat yourself up for finding it too difficult 293
293
and for being stuck all the time. 294
294
It is difficult indeed, but it's gonna be worth it. 295
295
And trust me, we've all been in that place 296
296
and everyone who successfully works in the industry today, 297
297
just start out the same as you right now. 298
298
So really, congratulations for even starting this path. 299
299
It's already a great achievement in itself. 300
300
Now you just need to continue building stuff. 301
301
If you want to know about me personally, 302
302
I learned to code by starting projects 303
303
that were actually way too difficult for me at the time, 304
304
but that made them real challenges 305
305
that made me grow tremendously. 306
306
For example, I tried and failed 307
307
to a football simulation game with Visual Basic. 308
308
Then, I build a Content Management System in PHP 309
309
with really bad quality code, but it worked 310
310
and I actually sold it to a client 311
311
and made good money. 312
312
I also accepted some client projects for websites 313
313
that I didn't know how to deliver, 314
314
but I figured it all out in the end 315
315
and it made me grow so much. 316
316
And I'm sure that the same is gonna happen to you too. 317
317
Anyway, back to the journey here, 318
318
at a certain point, you will start to see the light. 319
319
So at this point, you are getting quite good at writing code 320
320
and your confidence will finally start to grow again. 321
321
You are now in the back to awesome phase. 322
322
Now you can either start learning new technologies 323
323
or you can start rounding up your skillset 324
324
with best coding practices and tools 325
325
that you will need for jobs, 326
326
for example, like version control, testing, 327
327
task runners, et cetera. 328
328
If your goal is to find a new job, 329
329
you're probably starting to be ready to apply for jobs. 330
330
You need many things for that, like a really good portfolio, 331
331
but that is a topic for another day. 332
332
Just be aware that even when you're working, 333
333
you will never stop learning. 334
334
So you're never really done learning how to code. 335
335
Web development changes really fast 336
336
and so you will need to be constantly adapting 337
337
to new technologies. 338
338
All right, and that is basically the typical journey 339
339
from start to job ready. 340
340
Now please, don't be scared by what I just told you. 341
341
I'm telling you all these things not to scare you, 342
342
but to prepare you because I really want you to succeed 343
343
on this path and I want you to achieve real success, 344
344
not like fake success. 345
345
There are just too many people out there 346
346
who will tell you that coding is easy 347
347
and that you will magically become a web developer 348
348
in two months if only you take their course, 349
349
but this is simply not true. 350
350
So I'm not gonna sit here and tell you 351
351
that coding is easy. 352
352
It's not easy. 353
353
But with the right attitude and the guidelines 354
354
I showed you in this lecture, you can totally do it. 355
355
And I mean that because I've seen it happening 356
356
time and time again. 357
357
So many people have learned how to code 358
358
from complete scratch, switched careers, 359
359
found better jobs and improved their lives dramatically. 360
360
And I mean many of my students and also many other people 361
361
that I know personally, it's real, 362
362
and you can achieve the same thing. 363
363
Just keep going, keep coding and keep building.
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.