Detailed explanation of css Foundation
CSS: page beautification and layout control
Concept: Cascading Style Sheets
Cascade: multiple styles can act on the same html element and take effect at the same time Benefits:
PowerfulSeparating content presentation from style control
Reduce coupling. decoupling Make division of labor and cooperation easierImprove development eff ...
Posted by mdj on Sun, 26 Sep 2021 02:50:59 -0700
Do you know that these operations delete the console.log code
preface
Speaking of console.log debugging, needless to say, it is very easy to use. It has helped us solve many bugs during development. We can often see these pieces of console debugging in the development environment. However, the console information code is not allowed in the production environment. Are you still manually deleting one by on ...
Posted by Foser on Sat, 25 Sep 2021 17:58:43 -0700
webpack complete configuration document
1. Introduction to webpack
1.1 static module bundler for modern javascript applications
Static: file resources
1.2 in addition to merging code, you can also translate and compress code
less/sass -> css
less/sass -> css
HTML / CSS / JS - > compact merge
2. Preparations before using webpack
2.1 webpack depends on Node environm ...
Posted by nvee on Fri, 24 Sep 2021 07:15:47 -0700
this point in javaScript is no longer lost
What is this pointing to?
No matter where you use this, it eventually points to an object; Where this is used and which object it will point to depends on the location of the function call. In short, remember one sentence:
Which object calls the function and which object this in the function points to.
this point in different scenes ...
Posted by truckie2 on Thu, 23 Sep 2021 00:46:57 -0700
jQuery introduction to proficient learning tutorial, collect my article is enough
Hello, I'm hottie. I'll organize jQuery learning tutorials for you today.
catalogue
1, Introduction to jQuery
2, Usage of jQuery
3, jQuery selector
4, Selection set filtering
5, Selection set transfer
6, Get and set element content
7, Get and set element properties
8, jQuery event
9, Event agent
10, JavaScript object
11, json ...
Posted by blmg911 on Wed, 22 Sep 2021 01:02:59 -0700
1. In depth summary of JS advanced Foundation
1. Data type
1.1 classification
1. Basic (value) type
typeBrief descriptionStringArbitrary stringNumberArbitrary numberbooleantrue/falseundefinedundefinednullnull
2. Object (Reference) type
typeType descriptionObjectAny objectFunctionA special object (executable)ArrayA special object (numeric subscript, internal data is ordered)
var a ; ...
Posted by _SAi_ on Tue, 21 Sep 2021 14:13:45 -0700
Showdown front-end algorithm - Search Search Algorithm - binary search
Index of this series
Linear table basis
Linked listqueueStack Tree structure foundation
Binary treeHeap and priority queueJoint search set Sorting algorithm
Quick sortMerge sortCardinality / topological sorting Search Search Algorithm
Binary search To be continued
Binary search principle
Binary search is an algorithm applied to ...
Posted by simenss on Tue, 21 Sep 2021 02:40:42 -0700
Solutions to cross domain and cross domain problems
Cross domain
What is cross domain?
Cross domain, that is, non homologous policy requests. This means that the browser cannot execute scripts from other websites. It is caused by the browser's homology policy and is a security restriction imposed by the browser.
The so-called homology means that the domain name, protocol and port are the same ...
Posted by aragon1337 on Mon, 20 Sep 2021 21:49:55 -0700
js array method
1.join()
Receives a parameter as a delimiter, defaults to a comma, returns a string separated by each item of the array
var arr = [1,2,3,]
console.log(arr.join(".")) //1.2.3
2.split()
Receives one or two parameters, the first representing a "separator" or a "regular expression" separated from the position specified by ...
Posted by sanstenarios on Mon, 20 Sep 2021 20:32:16 -0700
Standardized commit message submission information, commit verification, Standard Version automatic version replacement and changelog output
Auxiliary submission tool
Because you need to use the commit tool to assist in submitting information
npm install commitizen -g
Then you need to install the node environment first
use
Under project directory
# npm init is required first
commitizen init cz-conventional-changelog --save --save-exact
Submit using git cz The specification ...
Posted by anolan13 on Sun, 19 Sep 2021 18:24:28 -0700