js basic syntax summary
js basic syntax summary
Tip: Author: Participant
Moral: those who meet will leave, one period and one prayer
preface
Tip: the following is the basis of JS syntax
Sort it out by yourself for centralized review
1, Variable
1 what are variables
A variable is a box of things
Amount of change, content of change, data of change
2 ...
Posted by djremiasz on Tue, 21 Dec 2021 20:15:20 +0100
Practice of separating project development from 0 to 1
Front and rear end separation project development
preface
Front end separation means that the front-end code and back-end code of an application are written separately. Why?
What are the problems if the front and rear end separation is not used?
In traditional java web development, the front end uses JSP and the back end uses servlet.
...
Posted by Kazlaaz on Tue, 21 Dec 2021 19:34:31 +0100
Objects in JS and their application on the web front end
Objects of JS
How objects are created
Creating Objects with Literal Quantity
var a={};//JS hollow object, imagine a Java hollow Map
var student={
//Use (:) to split key and value
name:'zhangsan',
age:18,
doing:function(){
console.log('hello');
}
}
console.log(a);
console.log(student);
function someMethods(){
...
Posted by wallabee on Tue, 21 Dec 2021 19:23:10 +0100
jQuery object and DOM object
jQuery object and DOM object
1.1 differences between jQuery objects and DOM objects
DOM object
With native JavaScript Acquired DOM object
adopt document.getElementById() The feedback is the element(DOM object)
adopt document.getElementsByTagName()What did you get?
Pseudo array(aggregate),Each object in the collection is DOM object
jQue ...
Posted by [/Darthus] on Tue, 21 Dec 2021 17:37:17 +0100
TypeScript basic data type
TypeScript: basic data type
Declare a variable in typescript and specify its type. In future use, the value of the variable can only be this type
String type
The string in ts can also use back quotation marks. The usage is the same as js
let a: string = "aaa";
Number type
The number type supports decimal, hexadecimal, binary and octa ...
Posted by shab620 on Tue, 21 Dec 2021 17:28:53 +0100
TailwindCSS v3.0 officially released! A wave of new features is coming!
On December 10, 2021, Adam Wathan, founder of TailwindCSS, announced TailwindCSS v3 0 was officially released, which brought a series of performance improvements, improvement of development workflow and a large number of new features.So this brilliant new star in the field of CSS engineering is in v3 What interesting new features did 0 bring us ...
Posted by ptraffick on Tue, 21 Dec 2021 04:54:55 +0100
QR code business card making
Level 1: structural design of QR code business card page
Relevant knowledge
In order to complete this level task, you need to master: 1 Define table settings, 2 Span label.
Definition list
Definition lists are often used to explain and describe terms or nouns. Unlike unordered and ordered lists, the list items of a definition list do not ...
Posted by basement on Mon, 20 Dec 2021 18:45:24 +0100
FlyFish 2.0 has been released, making the development and application of large screen more flexible and convenient
It has been 2 months since FlyFish, the cloud smart data visual editing platform, was opened to the public! During this period, this application development platform with low threshold and high expansibility not only provided users with a one-stop solution for data visualization, but also won the excellent open source project award of China Clo ...
Posted by youdontmeanmuch on Mon, 20 Dec 2021 10:29:30 +0100
Modular output in ES6
In previous javascript, there was no concept of modularity. If you want to perform modular operations, you need to introduce third-party classes Library. With the development of technology and the separation of front-end and back-end, the front-end business becomes more and more complex. It was not until ES6 brought modularity javascript suppor ...
Posted by ralba1998 on Mon, 20 Dec 2021 09:40:26 +0100
Electron incremental update
Since writing the electron series, many students have asked some questions, mainly for the incremental update of electron. I wrote it before Incremental update (II) However, the Windows mode requires the administrator permission package, which is not very elegant. Moreover, if you want to drag the function, due to the permission problem, the dr ...
Posted by tjmbc on Mon, 20 Dec 2021 09:32:26 +0100