What's new in ES6 - let
The difference between let and var
Before ES6, we used var to declare variables, and JS only has function scope and global scope, without block level scope, so {} cannot limit the access scope of var declared variables
{
var i = 9;
}
console.log(i); // 9
The new let in ES6 can declare variables of block level scope.
{
let i = 9 ...
Added by busyguy78 on Wed, 26 Jan 2022 18:29:53 +0200
Bootstrap actual combat - Comment list
1, Introduction
Social media websites are popular. People often use comments to express their views. The comment function has become a part of the website.
2, Knowledge points
2.1 media objects
Official explanation: This is an abstract style used to build different types of components with images aligned to the left or right of the text con ...
Added by msk_1980 on Wed, 26 Jan 2022 16:55:53 +0200
Vue3 document parsing
Vue3 document parsing
After thinking about it, it's better to send it. After all, Vue may not be contacted for a long time. I was thinking before, why do many people recommend reading documents when they encounter problems Why? Because the document is really useful (really fragrant) This article is a personal understanding of the content in th ...
Added by digitalmarks on Wed, 26 Jan 2022 16:26:56 +0200
vue2 last stubbornness
How to exclude the listening of some attributes when watch listens to an object
The following code is to re request data when params changes, regardless of the change of a, b, c and d attributes
data() {
return {
params: {
a: 1,
b: 2,
c: 3,
d: 4
},
};
},
watch: {
params: {
de ...
Added by Replika on Wed, 26 Jan 2022 13:05:51 +0200
IDEA2020 create a jsp +Servlet web project
IDEA2020 create a jsp +Servlet+Tomcat web project
Part I java environment variable configuration & servlet environment configuration
java 11 download address https://www.oracle.com/java/technologies/downloads/#java11-windows
Tomcat download address https://tomcat.apache.org/
JAVA part
There are many tutorials for java jdk installat ...
Added by Farside on Wed, 26 Jan 2022 09:08:15 +0200
ssrf vulnerability description
ssrf is a security vulnerability in which an attacker constructs a request and the server initiates the request. Generally, the target of ssrf attack is the internal system that cannot be accessed by the external network
Principle of ssrf vulnerability SSRF is mostly formed because the server provides the function of obtaining data from other ...
Added by apsomum on Wed, 26 Jan 2022 06:18:02 +0200
HTML CSS3 deformation, move, rotate, zoom, 3d, animation, stretch layout and other notes
Deformation movement
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style type="text/css">
div{
width: 100px;
...
Added by Porl123 on Wed, 26 Jan 2022 05:35:02 +0200
Efficient component communication technology Vuex -- getting started
1, Basic concepts
Vuex function: frequent and large-scale data sharing (scenario: shopping cart)
Vuex advantages: 1 Data access in one step. 2. Clear data flow. 3. Responsive.
2, Use steps
1. Lower package yarn add vuex
2. introduce main.js import Vuex from 'vuex'
3. Install plug-ins Vue.use( Vuex )
4. establish store Instance object c ...
Added by sevenfive on Wed, 26 Jan 2022 04:26:24 +0200
Java Web foundation of full stack learning
java,web
1. Basic concepts
1.1 Preface
web development:
Web means web pageStatic web
html cssThe data provided to everyone will never change Dynamic web
Everyone sees different information at different times and placesTechnology stack: Servlet/Jsp, Asp, PHP
In java, the technology of dynamic web resource development is called ja ...
Added by Tokunbo on Wed, 26 Jan 2022 01:20:47 +0200
HTML structure and text Tags
1, HTML fixed structure
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Page title</title>
</head>
<body>
Web content
</body>
</html>
HTML determines the structure of web pages. All HTML files are completed based on this structure. In addition, it can al ...
Added by budder on Wed, 26 Jan 2022 00:02:26 +0200