Basic ideas for finding errors in Web front-end development

Basic ideas for finding errors in Web front-end development

WEB development mainly consists of two interactions (B/S data)

Browser:

1Contains errors in the execution of client codes such as html, css, and js.

Transmission side:

1. Path introduction errors, the introduction of common plug-ins (artDialog, Ztree, JQuery, etc.), image paths, video paths, etc.

2 The files (js, css, pictures, videos, etc.) are too large, causing the browser to parse slowly and the loading time to be too long. These files can be compressed appropriately.

Server:

1 Dynamic web page - data source (i.e. data operation program) error.

2 Data error in the database or file.

Simple diagram:

Common methods for handling errors on the client side (common tool F12):

1. For html and css debugging, just click the arrow (you can view the element attributes). For js debugging, generally set breakpoints.

2. Cache accumulation causes errors, clear the cache.

3. Page value transmission and request processing can capture requests and responses between pages in the network.

4. Cookie and Session processing and clearing.

Notice:

[Browser engine rendering method (taking IE as an example):

1. Browser browsing mode, that is, the default browser engine type {IE7 6 version is IE7 6 engine}

2. Document browsing mode, which is the actual parsing mode of the code

{You can set it manually with code: <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" /> Regardless of the version of IE, the html code will be parsed by the IE7 engine}

The above is my experience in finding errors in WEB front-end design. My knowledge is limited, so please feel free to give me your advice if there are any loopholes.

<<:  uniapp Sample code for implementing global sharing of WeChat mini-programs

>>:  HTML table_Powernode Java Academy

Recommend

Solution to css3 transform transition jitter problem

transform: scale(); Scaling will cause jitter in ...

Use a table to adjust the format of the form controls to make them look better

Because I want to write a web page myself, I am al...

TypeScript interface definition case tutorial

The role of the interface: Interface, in English:...

An article tells you how to write a Vue plugin

Table of contents What is a plugin Writing plugin...

A brief analysis of how to use border and display attributes in CSS

Introduction to border properties border property...

Detailed explanation of html download function

The new project has basically come to an end. It ...

Vue3 implements Message component example

Table of contents Component Design Defining the f...

How to check PCIe version and speed in Linux

PCIE has four different specifications. Let’s tak...

Detailed introduction of Chrome developer tools-timeline

1. Overview Users expect the web applications the...

Implementation of mysql configuration SSL certificate login

Table of contents Preface 1. MySQL enables SSL co...

Six tips to increase web page loading speed

Secondly, the ranking of keywords is also related ...

Detailed explanation of this pointing problem in JavaScript function

this keyword Which object calls the function, and...

Refs and Ref Details in Vue3

The editor also shares with you the corresponding...