Home > Web Front-end > JS Tutorial > body text

How to learn front-end js

(*-*)浩
Release: 2019-05-24 14:44:41
Original
2906 people have browsed it

The first thing to explain is that we are not experts now. At most, we are still half a bucket of water. We have just entered the JS door. It’s not about experience, it’s just lessons learned.

How to learn front-end js

At this time, someone will say, "Damn, why are you teaching us with half a bucket of water?" Don't rush to scold me, just listen to me first.

If you ask a college student to teach primary school mathematics, he may not be able to teach it better than a junior high school student. Because college students have already passed that stage and have forgotten how they got there. For junior high school students, who have just passed that stage, they still have fresh memories of how they got there, or they may have some conclusions of their own. For example, many experts think that the Rhinoceros book is a good way to get started. They think it is too simple, but from my experience, it is not the best choice for getting started.

Let’s talk about the conditions for learning js first

As for the conditions, I am a liberal arts student, majoring in business administration at university, and have nothing to do with computers; some people speak English and read After four years of college, it’s a pity that we haven’t passed Level 4 yet. With our conditions, we can study happily, so what are you waiting for?

Of course there are thresholds for learning JS, that is, you are at least relatively proficient in html and css. You cannot start learning JS without even knowing what the thing is for. Learn multiplication and division. Before, it was always beneficial to learn addition and subtraction.

A few more words of advice

1. Don’t rush to read the code for complex web page effects. This will only hurt your self-confidence and you will learn nothing. If you haven't reached a certain level of martial arts, you won't be able to learn the Sunflower Manual even if you cut off your penis.

2, don’t rush to join QQ group for technical exchanges, add talented people on QQ. If you go to Zhang Sanfeng to exchange martial arts, and the first thing you ask is "Brother Feng, where is Dantian?", you will be struck to death by his palm.

3. Look at the Internet and see how many days it takes to become proficient in JS. From getting started to being proficient in anything, just skip this kind of tutorial. Too many facts have proved that doing anything with an impetuous mentality will lead to failure. ended in failure.

4. Don’t get any computer training. Not to mention the money and time spent, the key is that you won’t learn anything. Originally, you could learn it by buying two good books and studying on your own in three months, but they can force you to do it for two years.

Recommend some good books

It’s super stupid, you’ve been bragging for a long time, but you still haven’t said how to learn it”

Hehe, I There is no special method, just recommending a few good books. The recommended books must be read in order. Don't rush to read the second one before finishing the first one. Not every time you "travel" can be successful. ’s

The first stage: "The Art of JavaScript DOM Programming"

Before reading this book, please make sure you have a basic understanding of Javascript. You should know if If you don’t understand syntax like else, go and read the first three chapters of "Javascript Advanced Programming" that I recommend in the second stage. Remember to stop reading after reading three chapters and return to "The Art of JavaScript DOM Programming" This book is here.

The best way to learn Javascript is to use "The Art of JavaScript DOM Programming" to get started. Read it twice honestly. After reading it, you will have a general understanding of JS. The entire book They all revolve around an example of a web page effect. If you follow it and write it down, you will find that this effect is often seen on web pages, and you will find that you can also create online effects. Hehe, little one Have a sense of accomplishment.

Second Stage: "Advanced Programming in JavaScript"

Some books are meant to become classics, such as the Rhinoceros book; there are also some books It is used to transcend the classics, and obviously this book is like this. Chapters in the book are classics, from the shallower to the deeper. Chapter 6, about the explanation of JS object-oriented, no tutorial can match it.

If There is a JS exam with a full score of 100 points. Reading "The Art of JavaScript DOM Programming" can get you 20 points. Then after reading this book, you can get more than 60 points. After finishing the study, you will have a sense of accomplishment. It’s doubled, believe me (read it at least twice, recommend three articles, and follow the code in the book line by line).

I highly recommend buying this book, the writing is so damn awesome, I will bring it to you The value is more than a hundred times and a thousand times.

The latest version of this book is the third edition, which seems to have been published a few days ago. What I read is the second edition. The third edition has not changed much compared to the second edition. , several chapters have been added, and the price currently differs by about 10 yuan.

Next, congratulations, you can go down the mountain. At this time, you can do some things by yourself

You can go to this tutorial of Ferris Take a look at the effects he wrote and the source code. Do you think some of them are very simple? Try writing these effects after him.

Learning technology behind closed doors will not work. It is appropriate to Add one or two QQ groups for communication (pay attention to quality), go to the forum often, and you will often gain some small gains.

Furthermore, take a look at the articles shared by these awesome seniors, it will make Your study will get twice the result with half the effort. Here are some blogs and personal websites of some great people in China collected by enthusiasts. Click here.

The third stage: "The Essence of JavaScript Language" and "High-Performance JavaScript"

The next two books "JavaScript Language Essence" and "High-Performance JavaScript" are supplements to the JS Advanced Tutorial. Some of the content is repeated in the JS Advanced Tutorial. The two books can be read at the same time. They are not thick and can be used for reading. There is a good reinforcement and consolidation of what was learned previously.

The fourth stage: "JavaScript DOM Advanced Programming" and "JavaScript Design Patterns"

After thoroughly studying the previous books, the next two books The order no longer matters, "JavaScript DOM Advanced Programming" (note that it is different from "JavaScript Advanced Programming") and "JavaScript Design Patterns", these two are heavyweight books that can make your JS technology more advanced. A new level; the former of these two books focuses on cultivating external skills, while the latter focuses on cultivating internal skills. It is a bit like the relationship between the Great Shift of the Universe and the Nine-Yang Divine Skill.

"JavaScript DOM Advanced Programming" first teaches you to build a tool function library similar to JQuery, and then explains several application examples that are often encountered in practice, which will benefit beginners a lot.

The above is the detailed content of How to learn front-end js. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
js
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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!