javascript knowledge summary

1.JS usage: A. Tag: < script > < / script > B. Tags can be placed in the head or body. When in the body, the script should be placed at the bottom of the < body > element to improve the display speed, because Script Compilation will slow down the display. C. Default attribute: < script type = "text / JavaScript&q ...

Added by megavolt on Wed, 09 Mar 2022 18:18:15 +0200

The 15 Vue skills have been developed for some time before they can be used in this way (does what you know really include these?)

catalogue preface 1. Restrict a prop to a list of types 2. Use quotation marks to listen for nested attributes 3. Know when to use v-if 4. Abbreviation for a single scope slot 5. Mix local and global style s 6. Override styles for subcomponents 7. How to create a responsive variable outside Vue 8. Deconstruction in v-for 9. Cycle with ...

Added by bh on Wed, 09 Mar 2022 18:14:28 +0200

Three.js to achieve parabolic dynamic flow effect

Three.js to achieve parabolic dynamic flow effect Old rules, let's first look at the final effect. This effect may be used in the demonstration from the beginning to the end of the aircraft route, the demonstration of missile launch trajectory effect and other scenes. After mastering the idea, the effect is very simple. There are actually two ...

Added by M2tM on Wed, 09 Mar 2022 17:28:05 +0200

You can't answer 80% of the selected interview questions. What else do you want to interview?

0.1 + 0.2 = = = 0.3? Why? Unequal. In js, javascript uses the Number type to represent numbers (integers or floating-point numbers), following IEEE 754 Standard, a number (1 + 11 + 52) is represented by 64 bit binary: sign bit + exponential bit (order code) + tail code 1 sign bit, 0 for positive number, 1 for negative number s11 digits (e ...

Added by cigardude on Wed, 09 Mar 2022 14:55:15 +0200

Variable learning

variable target Be able to say the main role of variablesCan write the initialization of variablesBe able to say the naming convention of variablesCan draw how variables are stored in memoryBe able to write cases of exchange variables catalogue Variable overviewUse of variablesVariable syntax extensionVariable naming conventionExchange vari ...

Added by Mobile on Wed, 09 Mar 2022 10:39:49 +0200

ES6 basic introduction

1, First acquaintance with ES6 es6 compatibility view 1. let and const let, like var, is used to declare variables whose values can be changedconst is used to declare constants. Once a constant is initialized, it cannot be re assignedconst must be initialized when declared let name = 'toot toot' let age = 18 const sex = 'female' ...

Added by toledojimenez on Wed, 09 Mar 2022 10:00:51 +0200

JavaWeb_12_ Master Ajax in an hour

Master Ajax in an hour Click jump for one hour to master Ajax video Life, one stop has one stop of scenery, one year has one year of taste, your age should be the medal of your life, not the reason for your sadness. What is AJAX? AJAX = Asynchronous JavaScript and XML. AJAX is a technology that can update some web pages without ...

Added by chillininvt on Wed, 09 Mar 2022 09:21:03 +0200

[interview questions] analysis of classic interview questions in event cycle

Basic concepts Process is the program that the computer has run. Thread is the smallest unit that the operating system can schedule operations. It is included in the process Every Tab page in the browser opens a process, which contains many threads As we all know, JS is a single threaded language. If we encounter very time-consuming operations ...

Added by Tonata on Wed, 09 Mar 2022 08:23:35 +0200

Calculation of ring ratio and N kinds of posture year-on-year

When doing data analysis, we often hear the concepts of year-on-year and month on month. When publishing statistical data, enterprises and organizations usually like to compare the previous historical data with the year-on-year and month on month data to illustrate the changes of the data. For example, the Bureau of Statistics announced that in ...

Added by jpbox on Wed, 09 Mar 2022 08:05:53 +0200

A simple cool front-end small project (html+css+js) -- 3D picture demonstration

A simple cool special effects page (html+css+js including source code) --- 3D image demonstration preface1, Page effect display2, Function description 1. Open the page and all pictures will rotate automatically2. The size and spacing of pictures can be changed as the mouse wheel scrolls3. Press and hold the mouse anywhere on t ...

Added by hearn on Wed, 09 Mar 2022 07:16:06 +0200