TypeScript official manual translation plan [3]: type contraction

Note: at present, there is no Chinese translation of the latest official documents of TypeScript on the Internet, so there is such a translation plan. Because I am also a beginner of TypeScript, I can't guarantee the 100% accuracy of translation. If there are errors, please point them out in the comment area;Translation content: the tentative t ...

Posted by Misery_Kitty on Sat, 20 Nov 2021 02:01:56 -0800

Promise learning notes

Note: the notes are from the video Shang Silicon Valley Web front end Promise tutorial from introduction to mastery Note: if you are a beginner, you only need to learn the basic use of Promise. Don't fall into the process of realizing handwritten Promise yourself. Understanding and use of Promise What is Promise Promise is a new technology ...

Posted by nickthegreek on Sat, 20 Nov 2021 00:44:20 -0800

Basic operations of Jquery

1, Method of use    jQuery does not need to be installed. To use it, you only need to import a js file, which can be placed on an external site or on your own server. However, in the actual development process, it is more convenient to use the local server.   major development companies provide CDN downloaded by jquery. This ...

Posted by Lodius2000 on Fri, 19 Nov 2021 21:17:29 -0800

Knowledge system of Web front end development engineer_ 24_JavaScript core

1, ES5 (ECMAScript version 5) 1. Add a function in the array Judgment function          every() is used to judge whether all elements in an array meet the requirements. The format is as follows: var Judgment result=array.every( function(Current element value n,Current subscript i,Current array ...

Posted by jcanker on Fri, 19 Nov 2021 11:33:57 -0800

Front end - html, css, elastic box model

Elastic box model 1. Comparison between traditional layout and flex layout Traditional layout The traditional layout relies on display, float and position to complete the layout, However, some special layouts are inconvenient flex layout Convenient operation, simple layout and wide use of mobile terminal pc browser support is poor IE11 ...

Posted by TLawrence on Fri, 19 Nov 2021 10:13:26 -0800

Summary of front-end routing knowledge points

1. The core of front-end Routing: Change the URL without overall refresh: Implementation methods: 1) hash of URL 2) history of html5 2. hash of URL location.hash=' ' 3. history of HTML5 history.pushState({}, ' ' , 'home' ) history.replaceState({},'','home') pushState() is like entering and exiting the stack. It is a stack structure that ca ...

Posted by ririe44 on Fri, 19 Nov 2021 06:16:50 -0800

Recursive and callback functions of JavaScript programs

Iife (self executing function) IIFE (Immediately Invoked function Expression) is a function expression called immediately. This function is called immediately when it is declared. The so-called self executing function, as the name suggests, is a function that is executed immediately after definition. Generally, it has no name and will only be ...

Posted by Zooter on Fri, 19 Nov 2021 04:48:26 -0800

Front end - initial knowledge of HTML and CSS - floating layout

(7) Front end - initial knowledge of HTML and CSS - floating layout 1, CSS layout 1. Layout of web pages It refers to how the browser arranges the elements in the web page 2. Standard stream (/ document stream / normal stream) typesetting mode 1) Browser default layout At the bottom of the web page, it represents the position in a page. B ...

Posted by The_Assistant on Fri, 19 Nov 2021 03:36:03 -0800

Learning note 1: JavaScript compilation and execution

JavaScript is a descriptive scripting language, which is different from java or C# and other compiled languages. It does not need to be compiled into an intermediate language, but by browser Dynamically parse and execute. The code cannot be run directly. It needs to be compiled by the JavaScript compiler. Only the compiled code can be recognize ...

Posted by bg on Fri, 19 Nov 2021 03:16:15 -0800

Create a simple tic tac toe game using HTML, CSS and JavaScript

🌊 Author home page: Hai Yong 🌊 About the author: 🏆 CSDN high-quality creators in the whole stack field 🥇 HDZ core group members 🥈 Ranked among the top ten in the weekly list of station C 🌊 Fan benefits: 👉 Fan group 👈 Four books per week and various small gifts per month (enamel cup, pillow, mouse pad, mug, etc.) Jump straight to the ...

Posted by AV1611 on Thu, 18 Nov 2021 23:54:44 -0800