10 great JavaScript shorthand skills

Today I want to share 10 great JavaScript shorthand methods, which can speed up the development speed and get twice the result with half the effort. Let's go! 1. Merge arrays Common writing: We usually use the concat() method in Array to combine two arrays. Using the concat() method to merge two or more arrays does not change the existing A ...

Posted by jadebabe on Sat, 26 Feb 2022 12:07:33 +0100

Filter (super detailed)

Statement: This article is the notes sorted out according to the blogger's learning content. It is only used for exchange learning. If you need to watch the video, please move to: http://www.atguigu.com/ 1.Filter ? What is a filter Filter filter is one of the three major components of Java Web. The three components are: Servlet program, List ...

Posted by reddevil on Sat, 26 Feb 2022 07:10:57 +0100

Selection and cursor in the Web

In web development, sometimes it is inevitable to deal with "selection" and "cursor", such as selecting highlight, selecting toolbar, manually controlling cursor position and so on. The selection area is the part selected with the mouse, usually blueWhat about the cursor? Is it the flashing vertical line?Warm tip: the articl ...

Posted by misterfine on Thu, 24 Feb 2022 14:09:45 +0100

css and picture theme color

The idea comes from the skeleton screen in "performance optimization": In sites with a large number of pictures, this will be a very nice experience - picture loading is usually uncomfortable. Generally, the bitmap in a good skeleton is a low pixel picture, that is, the general color matching and change are consistent with the actual ...

Posted by jamesbrauman on Thu, 24 Feb 2022 14:07:04 +0100

Development of zero foundation exclusive Markdown online editor

Development of zero foundation exclusive Markdown online editor Online case Markdown is also a markup language, which is similar to HTML and has nothing to do with CSS. The display styles of markdown editors (Typora, etc.) we usually use and see are displayed after being converted to HTML and CSS with built-in styles; Nowadays, the way o ...

Posted by worldofcarp on Thu, 24 Feb 2022 07:27:02 +0100

Basic introduction and use of HTML

Introduction to HTML The full name of HTML is hypertext markup language, which is a markup language. It includes a series of tags. Through these tags, the document format on the network can be unified, and the scattered Internet resources can be connected into a logical whole. HTML text is a descriptive text composed of HTML commands. H ...

Posted by sak on Wed, 23 Feb 2022 20:17:55 +0100

HTML table (for the use of HTML table, collecting this one is enough)

HTML table Article catalogue HTML table 1. Definition of form2. Label of the form3. Cell border4. Merge cells 4.1 merge row cells (colspan)4.2 merge column cells (rowspan) 5. Table format setting 5.1 cell align ment (center, left, right)5.2. Bgcolor & background 5.2.1 cell background color & picture5.2.2 table bac ...

Posted by electronish on Wed, 23 Feb 2022 16:08:23 +0100

H5 canvas introduction to mastery_ The second part (drawing text, pictures, coordinate system, canvas color and style, canvas drawing environment)

catalogue 1. Draw text 2. Draw image (1) Basic drawing method (2) Case: sequence frame animation 3. Drawing coordinate system 4. canvas color style and shadow 5.? Complex style (1) Gradual change (2) Draw background map (3) Transformation (emphasis) 6. Related operations of drawing environment 1. Draw text **ctx.font;** Set t ...

Posted by nerya on Wed, 23 Feb 2022 14:50:16 +0100

Javascript element related

JavaScript element related Get element According to tag id document.getElementById(); According to tag name document.getElementByTagName(); What is returned is the collection of obtained element objects, which are stored in the form of pseudo array. The objects in pseudo elements can be obtained by traversal, and the obtained element obje ...

Posted by danlayton00 on Wed, 23 Feb 2022 14:45:20 +0100

Alibaba cloud OSS upload and intelligent image recognition garbage recognition

Alibaba cloud OSS object storage upload pictures and intelligent image recognition garbage recognition I believe that the majority of novice programmers, like me, want to write an intelligent image recognition, but they can't find it in Baidu or don't know what it means when they check. Next, I will contribute my own process and code of writin ...

Posted by varzosu on Wed, 23 Feb 2022 13:55:49 +0100