JavaScript Learning Guide _ Basics

Source: Internet
Author: User

JavaScript introduction is too easy, resulting in almost everyone casually see can get started, 0 basic people learn a 35 days can declare oneself mastered JS. But really mastering JS is a very difficult thing. It is difficult to make progress if you first think of asking others when you are learning a language. Because it's so easy to get answers and not to think about why. And to tell the truth, JS is not suitable as the first programming language, it is inclusive, fault-tolerant, but it also means that a mistake you can not find the reason for the error. On the other hand JS has some excellent features that are hard to find for people who have no programming experience.

If you really want to learn JS, I have a general study of the trajectory for your reference.

The first step, learning W3school JS programming.

W3school provides the most basic JS learning scheme, very rough, but very suitable for you to understand the client JS profile. Immediately can try the instance, also can let JS beginners see the effect immediately.

Second step, you need a system to introduce JS books, such as Rhino Book (JavaScript authoritative guide).

W3school can tell you only JS is probably what. But the next thing you need to know is what JS really is. The Rhino book acts as the role. Rhino Book covers a wide range, and the content is very full, you can open the whole JS world. Of course because the Rhino book is thicker, and look at the time you do not have the means to do something immediately, so this time will be difficult (for me it is very interesting, because I like JS.) But if you can really chew this book, I believe you will be attracted by JS charm.

The third step, understand the essence of JS--"JavaScript language pristine"

This is a very thin book, about one or two days can be read. But it's totally unsuitable for beginners, and of course, it's perfect for people who read the Rhino book. The birth of JS is too hasty, so that it has to keep a lot of bad features, but you have the right not to use those. Rhino book tells you what JS is, and this book tells you the essence of JS (and dross), after reading the trust you will benefit.

Step fourth, read the code

If you do not use any Third-party JS library to complete your Web page, you are very good, but I do not recommend that you do so. You can use a good third party JS library for faster development, such as JQUERY,DOJO,D3 and so on. And even more exciting is that these other people write JS is completely visible to you. Reading code is the quickest way to improve one's programming ability, but reading code out of thin air is sure to give you a headache. How can you quickly understand why people write code like that? You have read two classic JS books, your mind has been installed on the essence of JS, second, you can also go to a variety of programmers community questions.

The fifth step is to submit code to the open source community.

To read others ' code is to learn, but to improve others ' code is to create.
Come on, one day you will be able to complete a piece of your own, epoch-making work.

Summary: Simple to learn JavaScript is to first lay a good foundation, and then read more code, and finally write some examples to the open source community, so that people correct your mistakes, so as to better progress.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.