Ten sorting javascript implementation + animation demonstration

Algorithm classification Comparison sort: the relative order between elements is determined by comparison. Because its time complexity cannot exceed O(nlogn), it is also called nonlinear time comparison sort.Non comparison sort: it does not determine the relative order between elements through comparison. It can break through the time lowe ...

Posted by bandit on Wed, 05 Jan 2022 01:38:06 +0100

TML5 final assignment: website design of women's cosmetics Mall - women's cosmetics Mall (3 pages) HTML CSS web page design assignment "mall station"

HTML5 final assignment: website design of women's cosmetics Mall - women's cosmetics Mall (3 pages) HTML CSS web page design assignment "mall station" Common web design topics include individuals, food, companies, schools, tourism, e-commerce, pets, electrical appliances, tea, home, hotels, dance, animation, stars, clothing, sport ...

Posted by bfuzze_98 on Tue, 04 Jan 2022 23:20:50 +0100

L7plot introduction notes

prefaceSome time ago, the leader of our company asked us to make a large screen display project. Due to our glorious tradition, we had no designers, and then the leader didn't know where to find a pile of large screen projects for me to refer to, so looking at the colorful large screen projects, the leader chose two of them and said to me, &quo ...

Posted by hrichman on Tue, 04 Jan 2022 20:36:09 +0100

Handwritten Promise function

Handwritten Promise 1 define the overall structure class Promise{ /* Promise Constructor executor: Internally synchronously executed functions (resolve, reject) = > {} */ constructor(executor){ } /* Specify the success / failure callback function for promise The return value of the function is a new ...

Posted by natgopal on Tue, 04 Jan 2022 18:31:01 +0100

How to solve the problem of vuex page refresh data loss?

1. Problem Description: Generally, when the login is successful, the user information and menu information need to be placed in vuex as global shared data. However, when the page is refreshed, the data in vuex will be reinitialized, resulting in data loss. Because the data in vuex is saved in the running memory, when the page is refreshed, the ...

Posted by Rithotyn on Tue, 04 Jan 2022 17:59:51 +0100

Getting to know webpack packaging

Getting to know webpack for the first time and getting started with Xiaobai preface: webpack is a node based build tool, and one of its features is packaging Because the front-end has been developed in engineering, the code written can no longer run directly on the browser At this time, webpack will help you compile the code and packag ...

Posted by samba_bal on Tue, 04 Jan 2022 17:53:30 +0100

Code quality layer 4 - robust code

click One click subscription to the column of "cloud recommended coffee" , get the official recommended high-quality content and don't get lost in learning technology!Robustness means that the program can still run normally when encountering input, errors and exceptions outside the specification. In short, robust code has strong adapt ...

Posted by wangsc66 on Tue, 04 Jan 2022 16:50:29 +0100

[front end Engineering] I've written ten thousand words to get you started quickly

Hello, I'm A bowl week , a front end that doesn't want to be drunk. If you are lucky enough to get your favor, I am very lucky~ Write in front Webpack is a modern packaging modular JavaScript tool. In webpack, all files are modules. Internally, the files are converted through Loader, the hooks are injected through Plugin, and finally the fi ...

Posted by goochy808 on Tue, 04 Jan 2022 15:47:36 +0100

JavaScrip sorting and common methods

JavaScript 1. What is JavaScript It is used for simple logic of front-end pages and interaction with back-end pages JavaScript (JS for short) is a lightweight, interpretive or just in time compiler with function priority programing language . Although it is developed as Web Page scripting language It is famous, but it has also bee ...

Posted by ranjuvs on Tue, 04 Jan 2022 10:39:16 +0100

Summary of basic knowledge of HTML and CSS

1. Prioritization of selectors !import Writing this style after the attribute will overwrite the element style defined anywhere on the page Inline style id selector class selector tag chooser Wildcard selector * Browser custom properties and inheritance 2. Floating element related questions If a non floating element and a floating ...

Posted by uNF on Tue, 04 Jan 2022 09:54:15 +0100