javaScript variables and keywords

Basic noun concept Literal Digital area quantity Numbers are divided into three types in js: decimal, octal, and hexadecimal example alert(52)  // All the numbers we see in the browser are decimal alert(015) // An octal value starting with 0 will be converted to hexadecimal by the browser alert(0x18) // Hexadecimal numeric represent ...

Added by wiztek2000 on Tue, 04 Jan 2022 14:01:29 +0200

Front end development_ JavaScript_ event

event 1. Introduction We can often see such operations on the website. When we click a button or perform relevant operations on the browser, the page will respond with our operations. Then these operations performed on the browser window or web page through the mouse or button are events. If a piece of program code is bound to an event, as lo ...

Added by phpCCore Brad on Tue, 04 Jan 2022 13:02:05 +0200

03_ 01_ Detailed explanation of front-end JavaScript

JavaScript details - Lao sun Course objectives: JavaScript introductionCombination of HTML and JavaScriptUse of JavaScriptDOM operationBOM operation 1. Introduction to JavaScript Although java is used as the prefix, the relationship between java and javascript is like the relationship between wife and wife cake. There is no relationship of ...

Added by Miker on Tue, 04 Jan 2022 13:00:37 +0200

jQuery self study notes

1, Dynamically create elements 1. Native js create node document.createElement(); Note: create element node document.createTextNode(); Note: create text node 2. jQuery create node html(): set or get content Get content: the html() method does not give parametersSetting content: parameters of html() method $('#btnHtml1').click(fu ...

Added by manianprasanna on Tue, 04 Jan 2022 12:34:02 +0200

web page design example job website design - environmental protection - environmental equipment (5 pages) HTML+CSS+JavaScript environmental protection and environmental optimization

HTML5 final assignment: environmental protection website design - environmental protection - environmental equipment (5 pages) HTML+CSS+JavaScript environmental protection and environmental optimization Common web design topics include individuals, food, companies, schools, tourism, e-commerce, pets, electrical appliances, tea, home, hotels ...

Added by pachanga1 on Tue, 04 Jan 2022 12:04:13 +0200

H5 access to WeChat official account (super detailed)

Wechat official documents 1. Use the official account number and authenticate the developer, or apply for the test number. be careful: Debugging in WeChat developer tools must first become official account developers, and can be configured in the background of WeChat official account. Location: The official account background > settings an ...

Added by jacko_162 on Tue, 04 Jan 2022 07:54:26 +0200

How to send video barrage using canvas? Learn from H5 Canvas

Realization of video barrage with canvas As usual, first look at the renderings, and then study happily~ What is canvas? Canvas (canvas) can use Javascript to draw graphics and images in web pages. Basic structure: <canvas id="" width="" height=""></canvas> Width: defines the width of the canvas Height: defines the heig ...

Added by zyrolasting on Tue, 04 Jan 2022 06:41:16 +0200

Actual combat: breakpoint sequel? File transfer in seconds? Upload large files manually

Hello, ladies and gentlemen. Today I share another practical article with you. I hope you can like it. Appetizer Recently, I received a new demand to upload about 2G video files. I tried it with the OSS of the test environment. It takes more than ten minutes to upload. Considering the company's resources, I resolutely gave up the scheme. Whe ...

Added by kickoff3pm on Tue, 04 Jan 2022 06:13:19 +0200

JavaScript WebGL setting colors

IntroductionJavaScript WebGL draws a face Then I thought I could try something more complex. Unexpectedly, there was a problem when setting the color.OriginMy GitHubSet colorIn the previous examples, a single color was set, but each vertex can have its own color information.be based on Draw triangle There are mainly the following changes:dataVe ...

Added by brad_langdon on Tue, 04 Jan 2022 04:44:25 +0200

Data variable memory

1. What is data Data is something stored in memory to represent specific information. In essence, it is 010101 Characteristics of data: transitive and computable Everything is data Target data for all operations in memory: Arithmetic operationLogical operationassignmentRun function Note: what data can do depends on the type of data 2. ...

Added by Jeff4507 on Tue, 04 Jan 2022 04:28:32 +0200