js knowledge point dom node

1, dom node type 1. Element node 2. Attribute node 3. Text node 2, View element nodes 1. View node name Node object nodeName console.log(oDiv.nodeName); //Node name DIV 2. View label name Node object tagName; console.log(oDiv.tagName); //Label name DIV 3. View node type Node object nodeType; Return val ...

Posted by Rohlan on Sun, 24 Apr 2022 15:20:05 +0300

The front-end layout is related to the mobile terminal layout

1, Mobile terminal layout 1. Layout concept (1) Static layout Direct use of px as a unit is not recommended and cannot adapt to the screen (2) Streaming layout Width percentage height pxThe maximum and minimum values are usually added (3) Adaptive layout Each static layout corresponds to multiple screen resolutionsUse @ media media query t ...

Posted by dreglo on Fri, 22 Apr 2022 06:06:46 +0300

Java project: course evaluation system (java+SpringBoot+layui+html+maven+mysql)

Source code acquisition: download from "resources" on the blog home page! Project introduction It is suitable for students who have just come into contact with springboot. It is not difficult. The front end uses the layui framework and the background springboot+mybatis. Less code. Roles are divided into students, teachers and ad ...

Posted by consolestrat on Wed, 20 Apr 2022 04:50:40 +0300

03.12 BOM object and window object

2.03.11 BOM object and Window object 1.BOM Introduction: BOM is the abbreviation of browser object model, abbreviated as browser object model. It provides objects that interact with browser windows independently of content; Using the browser object model, you can interact with HTML. Its function is to organize and package the relevant element ...

Posted by bdee1 on Tue, 19 Apr 2022 12:09:22 +0300

Basic teaching of HTML web page tag code

HTML full name hypertext markup language (Hyper Text Markup Language) can be used to make web pages. It has a set of grammar rules. Through these grammar rules, we can design colorful web pages. First, the tag format of html is: <Tag name>Label content</Tag name> Start with < tag name > and end with < / tag name >. Th ...

Posted by Grant Holmes on Tue, 19 Apr 2022 05:27:27 +0300

[Liu Jian] JavaScript array de duplication method

JavaScript array de duplication methodAuthor: Abbott Liu (Liu Jian)Education: GarrisonExample: remove duplicate elements from the following array (take multiple data types as an example)const arr = [0, 1, 2, 3, 5, 5, 6, 6, 6, 7, 9]1. indexOf method using arrayCreate a new empty array, traverse the array that needs to be de duplicated, and store ...

Posted by samtwilliams on Mon, 18 Apr 2022 04:23:17 +0300

7, jQuery animation effects

1, Custom animation    some complex animations cannot be realized through several animation functions learned before. It is necessary to introduce the animate() method of custom animation, which executes the custom animation of CSS attribute set and changes elements from one state to another through CSS style. CSS attribute ...

Posted by guybrush on Sun, 17 Apr 2022 02:12:40 +0300

You may not know the transition skills and details

In CSS, the transition attribute is used to specify the transition effect to be added to one or more CSS attributes. The most common usage is to add A transition to an element so that when an attribute changes from state A to state B, it is no longer very direct and abrupt, but with A gap animation. for instance: <div></div> Copy ...

Posted by sriusa on Sat, 16 Apr 2022 03:53:22 +0300

[Java advanced learning] JSP introduction and use, syntax and instructions

JSP introduction Question: After learning Servlet, it is too troublesome to use Servlet to show the page. It greatly affects the efficiency of development. Is there a way for us to program web pages like writing web pages??? Solution: Using JSP technology: (HTML+CSS+JS+jQuery+Java code) Concept: The full name of JSP is Java Server Pages ...

Posted by WindChill on Sat, 16 Apr 2022 00:25:30 +0300

[vue advanced] 2021 detailed explanation of the latest vue custom instruction

vue provides a set of operations that are more convenient for data-driven view. These operations are called instruction system. The inline attributes at the beginning of v - are instructions. Different instructions can complete or realize different functions. In addition to the default built-in instructions for core functions (v-model and ...

Posted by greenba on Fri, 15 Apr 2022 22:06:35 +0300