Author: Dmitri Pavlutin
Translator: Frontend Xiaozhi
Source: dmitripavutin
There are dreams and dry goods. search 160c2ae932ee23 [Daily Move to the World] still doing dishes in the early morning.
This article GitHub https://github.com/qq449245884/xiaozhi has been included, the first-line interview complete test site, information and my series of articles.
When you decide to learn JS, it may be because you want to be a front-end or back-end developer. But how do you start? How can I learn JS effectively and easily?
In this article, I will share some of my experience and principles of learning JavaScript, and how to stay motivated during this learning process.
Note: JavaScript basic knowledge mainly includes keywords, data types, operators, variables, expressions, functions, closures, objects, prototypal inheritance, classes,this
,promise
,async/await
.
1. Step by step
Stephen King is one of my favorite writers. He published about 61 novels. Many of them have been adapted into movies and TV series.
When 金 was asked "how do you write?" in the interview, he replied:
One word at a time
There is no shortcut or panacea for writing a good book: write only one word at a time. He wrote a book step by step, word by word, minute by minute, hour by hour, until it was finished.
The principle of gradual progress is also applicable to learning JavaScript language. There is no shortcut or panacea for learning JavaScript: we need to understand every concept of the language step by step.
2. Choose your favorite learning method
There are many ways to learn JS: reading books, watching video courses, technical platforms.
2.1 Books
I prefer to learn from books. Books allow me to learn information slowly at my own pace, allowing me to read and understand difficult parts many times.
What changed my understanding of JS was to read "The Definitive Guide to JavaScript (6th Edition)" from start to finish. This book teaches all simple to advanced concepts in an accessible way.
If you also like to read books, I recommend you to read the following books
- Definitive Guide to JavaScript (6th Edition)
- Head First HTML5 Programming (Chinese version)
- JavaScript you don't know up/middle/down
- JavaScript advanced programming (4th edition)
Just reading is not enough, you need a way to remember this information, I use these exercises to consolidate knowledge.
First, write down some thoughts in your notebook as you read. It is effective because when we write down this idea, we will think more about it and remain curious. repeats 160c2ae932f0be, the mother of .
These are the notes I made while reading "JavaScript: The Definitive Guide":
Second, use an online JS editor (such as jsitor or codesandbox ) to run the code fragments encountered in the book.
2.2 Video course
Video courses are more interactive than books. The video UP master can explain these difficult concepts in a human-understandable way. In addition, under the author's guidance, we can practice by creating real applications.
List of JavaScript courses for beginners:
- Modern JavaScript From The Beginning (by Brad Traversy)
- The Modern Javascript Bootcamp Course (by Colt Steele and Stephen Grider)
- Advanced JavaScript
- JavaScript in-
2.3 Technology Platform
You can also take a look at some technology platforms when you usually fish. Some are still very good. I recommend a few:
3. Don't pursue perfection too much, starting immediately is the best start
No matter how you choose to learn (from books, video courses or technical platforms), you need to persist in completing it from start to finish.
A comprehensive understanding of the basics of JavaScript is essential. Knowledge gaps will always slow you down, get into trouble, or even give up halfway.
I know that sometimes, especially in the middle of learning, this process can become boring. Sometimes it makes us think that it is unnecessary to explain and understand these characteristics. Or we may skip some complicated concepts.
Resist the urge to give up halfway and force yourself to study until the end. It’s okay if you don’t understand anything, it’s okay if you still have questions: it’s better to be good than perfect.
4. Don't filter
For a long time, I have not had an in-depth understanding of JS. I randomly selected some information from Stackoverflow to learn.
Because of the knowledge gap, I was tired of some bugs I encountered, so I started to read authoritative detailed guide for JavaScript . After learning about the features of JavaScript, I have always had problems, and I blame myself: Why didn't I read this book earlier to avoid these easily solveable bugs.
Please don't make my mistake. Don't just pick some basic JS information that you can understand. Instead, you can learn a basic JS book or course and complete it from start to finish.
5. Pure JavaScript
A feature of front-end development is that it contains a large number of UI libraries and frameworks, such as React , Vue , Angular .
Many junior developers have made the mistake of skipping the basics of JS and switching to UI libraries such as React.
No UI library or framework can make up for the lack of JS knowledge. If you are not good at JavaScript, you are not good at React either. First, we must consciously learn the basics of pure JavaScript.
6. Skills to stay motivated
easy to say, hard to do. Here are some ways to stay motivated and improve learning efficiency.
6.1 The most efficient work in the morning
The learning efficiency is the highest in the morning (from 7 am to 12 am).
If possible, get up early and learn JavaScript during this time.
6.2 End this lesson with the most interesting moment
Sometimes, after reading dozens of chapters or courses, you may find it difficult to motivate yourself to continue learning.
I overcome this by ending the most interesting part so that I will be interested in starting next time
7. Summary
Are you ready to become a JavaScript developer? Find your book or course and start today.
What is your favorite book or course for learning JavaScript?
Original: https://dmitripavlutin.com/how-to-learn-javascript/
code is deployed, the possible bugs cannot be known in real time. In order to solve these bugs afterwards, a lot of time was spent on log debugging. By the way, I would like to recommend a useful BUG monitoring tool Fundebug .
communicate with
If you have dreams and dry goods, search on [Daily Move to the World] Follow this brushing wit who is still doing dishes in the early morning.
This article GitHub https://github.com/qq449245884/xiaozhi has been included, the first-line interview complete test site, information and my series of articles.
**粗体** _斜体_ [链接](http://example.com) `代码` - 列表 > 引用
。你还可以使用@
来通知其他用户。