Why can't I learn JavaScript after a week?

foreword

First of all, from your description, I will use my subjective assumptions to guess that you do not have any programming foundation. Js is not very difficult to learn in various languages. Of course, if you are a pure beginner, then it is indeed early It takes time to settle down the grammar. In a week, it should be in the precipitation stage. Don’t be discouraged by some difficulties in the early stage. It’s normal for beginners to find it difficult. Secondly, don’t pay too much attention to other people’s learning progress. I I think this may be one of the reasons why you are too hasty and can’t calm down. Pay attention to your own shortcomings. There are many articles or videos on the Internet that you don’t understand. There are tens of thousands of resources, but can you use them? Good-looking person, I personally think that the knowledge of the js part should be gradual, and if the part is not good, just fill in that part. The following is the knowledge map of Js that I compiled, which can be used with online tutorials. I hope it will be helpful to you~

Put the road map first

Some important knowledge points

basic knowledge

· Declare variables

· null and undefined

Detailed explanation of JavaScript strict mode

Operators & Flow Control

· Operators

·Three major flow control statements

array

·Basic knowledge points of array

·Array operation function summary

object

·Object detailed tutorial

Set collection

· Set object

· WeakSet

Map

· Map object

· WeakMap

Function advanced

Several forms and usage of function declaration

· Immediately executed function (IIFE)

· Function parameters - in-depth understanding of parameter passing, parameter default values, parameter collection and expansion

How does JS use recursion?

Comprehensive analysis of this keyword

####

Scope and closures

· Execution context and execution stack

Scope and scope chain

· The concept, principle, function and application of closure

Prototype and Inheritance

·Prototype and prototype chain

· Commonly used eight inheritance schemes

kind

· Basic knowledge of class

· Static methods

· Class inheritance

Modular

Modularity—module exposure and module import

regular expression

·Regular Expression Syntax Encyclopedia

·The most complete JavaScript regular expression in the whole network (check numbers and letters)

Promise

· Understanding JavaScript Promises

Help you understand Promise prototype methods then, catch, finally

·Illustrate the principle of Promise implementation - Promise chain call  ,

· Understand JavaScript's async/await)

DOM&BOM object

· DOM binding event, event flow mechanism, event delegation, event object

·DOM operation arrangement

·BOM operation arrangement

· AJAX cross-domain

·Detailed explanation of local storage

space coordinates

· Use of spatial coordinates

event

·Event processing

·Event Reference Manual

·HTML DOM event listener

network request

· XMLHttpRequest introductory tutorial (very detailed)

JS requests data through fetch

canvas

·Canvas Tutorial - Web API Interface Reference

Related book recommendation

The Definitive Guide to JavaScript, 7th Edition

This book is suitable for people with certain programming experience. Of course, beginners can also buy it to learn. It is a must-read book for JavaScript programmers .

"" [e-book] download link:

Link: https://pan.baidu.com/s/1SX7fUWw5DIXH6Ve21UVdGA?pwd=siki  Extraction code : siki

"" [Paper Book] Link : https://product.dangdang.com/11163420580.html

write at the end

The basics of native JS are very important. Don’t worry about whether you spend too much time on native JS if you learn in a cyclical and gradual manner . The content to be learned later is based on this foundation. Basic knowledge requires time. Precipitation and a lot of code practice, I believe that you learn according to such a mentality, no matter what you learn later, you can make a reasonable plan in your heart, including the future JS update, you can have your own learning method And skills, hope to help you!

Guess you like

Origin blog.csdn.net/soukenan/article/details/132102962