Home > Web Front-end > JS Tutorial > Javascript Study Guide_Basic Knowledge

Javascript Study Guide_Basic Knowledge

WBOY
Release: 2016-05-16 16:29:53
Original
1374 people have browsed it

It is so easy to get started with JavaScript, so almost everyone can get started by just looking at it. People with no basic knowledge can claim to have mastered JS after learning it for three to five days. But it is difficult to truly master js. If the first thing you think of when you first learn a language is to ask others, it will be difficult to make progress. Because it’s too easy to get the answer without thinking about why. And to be honest, js is not suitable as the first programming language. It is inclusive and has high fault tolerance, but this also means that once an error occurs, it is difficult to find the cause of the error. On the other hand, js has some excellent features that are difficult to discover for people without programming experience.

If you really want to learn js well, I have a rough self-study track for your reference.

The first step is to learn js programming in w3school.

w3school provides the most basic js learning plan, which is very rough, but very suitable for giving you an overview of client-side js. Examples that can be tried immediately can also allow beginners of js to see the effect immediately.

In the second step, you need a book that systematically introduces js, such as Rhino Book (The Authoritative Guide to JavaScript).

All w3school can tell you is roughly what js is. But the next thing you need to understand is what js really is. Rhino Books plays this role. The Rhino book has a very wide coverage and a very comprehensive content, which can open up the entire world of js for you. Of course, because the Rhinoceros book is relatively thick, and you can’t do anything immediately while reading it, so this period of time will be more difficult (it’s quite interesting for me, because I like js.) But if you can really chew After finishing this book, I believe you will also be attracted by the charm of js.

The third step is to understand the essence of js - "The Essence of JavaScript Language"

This is a very thin book and can be read in about one or two days. But it is not suitable for beginners at all. Of course, it is very suitable for people who have read the Rhinoceros book. The birth of js was so hasty that it had to retain many 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 (and dross) of js. I believe you will benefit a lot after reading it.

The fourth step, read the code

If you don’t use any third-party js library to complete your web page, it means you are very powerful, but I don’t encourage you to do that. You can use excellent third-party js libraries for faster development, such as jquery, dojo, d3, etc. And what's even more exciting is that these js written by others are completely visible to you. Reading code is the fastest way to improve a person's programming ability, but reading code in a vacuum will definitely give you a headache. How can you quickly understand why someone else writes code the way they do? Firstly, you have read two classic JS books, and the essence of JS has been installed in your mind. Secondly, you can also ask questions in various programmer communities.

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

Understanding other people’s code is learning, and improving other people’s code is creation.
Come on, one day you can complete a groundbreaking work of your own.

Summary: To put it simply, learning JavaScript is to lay a good foundation first, then read more codes, and finally write some examples and submit them to the open source community so that everyone can correct your mistakes, so that you can make better progress.

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template