Basic operations of Jquery
1, Method of use
jQuery does not need to be installed. To use it, you only need to import a js file, which can be placed on an external site or on your own server. However, in the actual development process, it is more convenient to use the local server. major development companies provide CDN downloaded by jquery. This ...
Posted by Lodius2000 on Fri, 19 Nov 2021 21:17:29 -0800
Front end - initial knowledge of HTML and CSS - floating layout
(7) Front end - initial knowledge of HTML and CSS - floating layout
1, CSS layout
1. Layout of web pages
It refers to how the browser arranges the elements in the web page
2. Standard stream (/ document stream / normal stream) typesetting mode
1) Browser default layout
At the bottom of the web page, it represents the position in a page. B ...
Posted by The_Assistant on Fri, 19 Nov 2021 03:36:03 -0800
Teach you to achieve a simple Canvas clock effect
Abstract: today I'll teach you to write a canvas clock case. The effect may look simple without those fancy ones.
This article is shared from Huawei cloud community< How to realize a simple Canvas clock effect >, author: Aurora Borealis night..
1, First look at the effect:
Write a clock case of canvas today. The effect may seem relati ...
Posted by Molly on Thu, 18 Nov 2021 20:54:48 -0800
Basic syntax of JavaScript
1, Write location
you don't need any special software to write JavaScript scripts. An ordinary text editor and a Web browser are enough for programming. Code written in JavaScript must be executed through an HTML/XHTML document. There are currently two ways to call JavaScript. The first method is to put the JavaScript code between t ...
Posted by ketanco on Wed, 17 Nov 2021 15:34:26 -0800
express framework learning
express is a node framework
It prepares you for all the back-end needs to do
Encapsulate most behaviors into methods (services)
An interface location is reserved, and many plug-ins can be registered directly
use
1 download using npm install express
2 import using const express = require('express')
3 create service
=>After importing, ...
Posted by b-real on Wed, 17 Nov 2021 00:47:50 -0800
HTML Basics (front end technology)
1, HTML5 document structure
in order to better understand and understand HTML5 web pages, a simple and standard HTML5 document structure code is given below.
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>hello</title>
</head>
<body>
</body>
</html>
...
Posted by girlzz on Fri, 12 Nov 2021 15:08:33 -0800
Do you use these API s commonly used in advanced front ends?
This article is included in github https://github.com/Michael-lz...MutationObserverMutationObserver is an interface that can listen for DOM structure changes. The MutationObserver is notified of any changes to the DOM object tree.APIMutationObserver is a constructor that accepts a callback parameter and is used to handle node changes. It return ...
Posted by gj6kings on Wed, 10 Nov 2021 17:39:09 -0800
HTML5 [crazy God says Java notes]
Video address:
[crazy God says Java] HTML5 complete teaching is easy to understand
1. What is HTML
HTML
Hyper Text Markup Language W3C
World Wide Web ConsortiumFounded in 1994, it is the most authoritative and influential international neutral technical standards organization in the field of Web technologyhttp://www.w3.org/http: ...
Posted by SonnyKo on Wed, 03 Nov 2021 02:05:29 -0700
Method for realizing drag and drop function in front end
preface
Some time ago, a friend asked me if the front-end could realize the drag and drop function, which is generally used to adjust the list order. Although I haven't done it, I've seen such a website with this function, so I don't hesitate to say that it can be realized (I didn't write it anyway). Who knows, in less than a week, the company ...
Posted by Jas on Sun, 31 Oct 2021 19:51:08 -0700
JavaScript implements dynamically added elements to add click events
In the process of page development, it is often necessary to dynamically add elements and bind related events to this element. In this case, it is generally necessary to add related attributes to the elements and then write the event functions of these elements. How do dynamically added elements bind events?
Native JavaScript
There are two ma ...
Posted by ldougherty on Sun, 24 Oct 2021 16:12:01 -0700