preface
Before that, the author wrote a blog about network request encapsulation, but at that time, he wrote about the encapsulation results rather than the encapsulation process, so he made a supplementary introduction to the encapsulation process on this blog.
uni. Use of request
At the beginning, the author was not used to reading the ...
Posted by cbj4074 on Thu, 14 Apr 2022 19:52:18 +0300
object
There are two kinds of objects in js. Objects in js can dynamically add attributes and methods through point syntax.
Narrow object
Represented by {}; Narrow objects can have many properties and methods If the property value on the right is function, it is method. The no side is called an attribute. var obj = {
...
Posted by agriz on Thu, 14 Apr 2022 04:17:21 +0300
Form definition: submit local data information such as user information to the server, such as Baidu search box registration and login. These operations need to fill in forms
1, Create form label
Attribute: action attribute (must be written)
It refers to the address of a server. When we submit the form, we will submit it to the address corre ...
Posted by ridckie_rich on Wed, 13 Apr 2022 05:27:51 +0300
CSS common syntax summary
Reference mode
Annotation method: / **/
Case insensitive in CSS, variable naming uses - to split
Internal style Through the style tag, embed the CSS code into the HTML, and use the selector {}
<style>
p {
color: rgb(156, 163, 53);
font-size: 30px;
}
< ...
Posted by maxpup979 on Tue, 12 Apr 2022 23:15:00 +0300
There is not much CSS code. CSS style is not introduced here. CSS style is written in style
div class name line represents the scale line in the watch, center represents the circle in the middle that blocks the redundant line, second second second hand, minute minute hand, hour hour hour, and origin represents the point in the center of the ci ...
Posted by opido on Tue, 12 Apr 2022 21:52:10 +0300
catalogue
Project introduction
Project framework process
1. Navigation
2. Navigation responsive design
3. Login
4. Login responsive design
5. New course express and responsive design
6. Popular course list and responsive design
7. Popular labels
summary
Project introduction
This time we learn a new web design method, responsive ...
Posted by Fahid on Sun, 10 Apr 2022 03:09:43 +0300
Basic types: String, Number, Boolean, Symbol, Undefined, Null
Reference type: Object (in addition to Object, reference types also include Function, Array, RegExp, Date, etc.)
Since ECMAScript is loosely typed, there needs to be a means to detect the data type of a given variable. JavaScript also provides a variety of methods for this probl ...
Posted by gusaps on Sat, 09 Apr 2022 16:57:58 +0300
Parameter list: a list of data to be passed in. To declare this function, you need to pass in several data, which are separated by commas function getSum(num1,num2){document.write(num1+num2)} getSum(10,20) When calling a function, you need to write several data, separated by commas Formal parameters: the parameters written in the parentheses ...
Posted by surfinglight on Fri, 08 Apr 2022 06:26:55 +0300
Usually we need to make a clock, which must be inseparable from JS timer. Today, let's change our thinking and use CSS to realize a clock, as follows:You can also access this CSS time (codepen.io) See the actual effectOf course, I borrowed a little JS for initialization time. The whole clock is run by CSS. There are many tips you may not know. ...
Posted by bcoffin on Wed, 06 Apr 2022 07:03:06 +0300
Introduction to visual panel
In response to the current trend of data visualization, more and more enterprises need to use visual charts to display and reflect the data in many scenarios (marketing data, production data and user data), so as to make the data more intuitive and highlight the data characteristics.
01 - using technology
The fol ...
Posted by PhpDog on Tue, 05 Apr 2022 06:43:16 +0300