Interesting problems encountered in Vue & Vue cli 3.0 project
1. The problem that custom fonts do not work on ios system
Background: the blogger recently introduced the third-party font provided by the design into the project during development. It is normal on computers and Android phones, but it does not work on Apple phones. Finally, it is found that ios does not support this font, and the font format ...
Posted by robinhood on Wed, 06 Oct 2021 22:03:30 -0700
Overview of HTML forms
Learning objectives: (1) Will use the basic structure of the form to make the form page (2) Will use various form elements to implement the registration page (3) Be able to understand the difference between post and get submission methods
1.1 purpose of the form
(1) User registration (2) Collect information (3) Information feedback - Quest ...
Posted by hbuchel on Wed, 06 Oct 2021 07:43:32 -0700
02_ Cross domain problem summary
Cross domain problem summary
1. Why is there a cross domain problem?
The reason is that the browser adopts the Same origin policy for security
2. What is homology strategy?
1. Homology strategy is composed of Netscape A well-known security policy is proposed, which is now supported by all JavaScript All browsers will use this strategy. ...
Posted by samafua on Fri, 01 Oct 2021 16:43:03 -0700
Six new features that ES6 must know
ES6
New features of ES6 let & const
const is used to represent constants (it is not allowed to change after declaration. Once declared, it must be initialized, otherwise an error will be reported)
//ES6 constant cannot be modified
const b=2;
b=3;//Uncaught TypeError: Assignment to constant variable.
console.log(b);
Variables decl ...
Posted by abch624 on Fri, 01 Oct 2021 10:46:28 -0700
ECharts from introduction to advanced 6000 words long, with pictures and texts
Echarts quick start
Import the echorts.js filePrepare a box to present the chartInitialize the ecarts instance objectPrepare configuration itemsSet the configuration item to the ecarts instance object
<div style='width: 600px; height: 400px;'></div>
<script src="./lib/echarts.js"></script>
<script>
// Initializ ...
Posted by skyer2000 on Thu, 30 Sep 2021 16:25:07 -0700
Consolidate common array methods
Common methods of traversing arrays
1. forEach
Note: forEach is the simplest and most commonly used array traversal method. It provides a callback function that can be used to process each element of the array. By default, there is no return value. The parameters of the callback ...
Posted by itsmani1 on Wed, 29 Sep 2021 11:41:57 -0700
Front end interview questions (JS) suggestions collection, constantly updating
Please use js to implement a stopwatch timer program
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>timer</title>
</head>
< ...
Posted by shlomikalfa on Tue, 28 Sep 2021 18:22:39 -0700
Front end interview questions (CSS) suggestions collection, constantly updating
How do I indent the first line of a paragraph?
I didn't think of it at first sight text-indent🤣,Its provisions are as follows
Applies to block elements
Until the unit is as follows
Length value: px em rem
Percentage: depends on the number of blocks contained width
keyword: each-line: Text indentation affect ...
Posted by toshesh on Mon, 27 Sep 2021 17:14:55 -0700
Node.js beginner's notes
Node.js beginner's notes
Node.js learning notes, including the basic use of native modules, Express framework and Koa framework. And the construction based on Koa project, Postman interface test and some usage skills.
Basic functions of Node.js http module
The node.js version is v14.17.3
Record common functions of http module: 1. url parsin ...
Posted by MikeTyler on Mon, 27 Sep 2021 05:34:56 -0700
VUE3.0,DAY65, Vue routing guard
Global pre routing guard
Secure routing. For example, when we use the case shown in the figure below, only specific personnel can access the information displayed in the Message. We first use the local session store of the web page to enter a name with the value of my. Only the user whose value is my can access the message information in ...
Posted by cornick on Sun, 26 Sep 2021 04:14:22 -0700