javascript basic grammar notes

1. Operators 1 Post Operator var num = 1; num += 1; num -= 1; //Pre-operator, plus first ++num; ++num; console.log(num); // ++ num prefix increases first and then outputs // num++ post-auto-increment first outputs in plus 1, returning the original value first, then adding 1 console.log('+++++++++++++'); va ...

Posted by karlitosphere on Fri, 14 Jan 2022 23:48:47 +0100

Web development document, web development front-end learning

**MQ, also known as Message Queue, is a middleware for asynchronous communication** It can be understood as the post office. The sender delivers the message to the post office, and then the post office helps us send it to the specific message receiver (consumer). We don't need to care about the specific sending process and time, and it won't in ...

Posted by JoeF on Fri, 14 Jan 2022 20:59:54 +0100

High frequency algorithm (real interview question)

High frequency algorithm interview questions ★★★ bubble sorting Compare two from the start position for n rounds Basic Edition function bubbleSort (arr) { // Execute round i + 1 for (let i = 0; i < arr.length; i++) { for (let j = 0; j < arr.length - 1; j++) { // Compare the former with the latter in pairs if (arr[j] & ...

Posted by pcbytes on Fri, 14 Jan 2022 17:11:23 +0100

HTML Basics

1. HTML is a language used to describe Web pages. HTML refers to hyper text markup language. Html is not a programming language, but a markup language (markup language) HTML uses tags to describe Web pages 2. HTML tags are often called HTML tags. HTML tags are keywords surrounded by angle brackets HTML tags usually appear in pairs. T ...

Posted by Stickybomb on Fri, 14 Jan 2022 14:03:59 +0100

Front end factory interview questions

------------Restore content start------------ The front-end 14 large factories had 1-week interview questions, and job hopping was stable Summary of knowledge points mastered in front-end development: HTML & CSS: Browser kernel, rendering principle, dependency management, compatibility, CSS syntax, hierarchical relationship, common attribut ...

Posted by kind on Fri, 14 Jan 2022 11:52:25 +0100

BootStrap framework module: BootStrap 4 Foundation

Introduction to BootStrap Bootstrap It is the most popular front-end open source tool library in the world. It supports Sass hybrid, responsive matrix system and its own library component and component JavaScript. Bootstrap provides powerful functions that enable you to quickly design and customize your website. Use Bootstrap CDN and one of ...

Posted by TransmogriBenno on Fri, 14 Jan 2022 10:50:46 +0100

React Redux implementation of TodoList small case

React Redux is a common component in react ecology, which can simplify the Redux process. (note the concepts: react, Redux and react Redux are three different things) 1. Install react Redux dependency npm install --save react-redux 2. < provider > provider < provider > is a provider. As long as this component is used, all other ...

Posted by nick1 on Fri, 14 Jan 2022 10:36:33 +0100

Understanding of class in es6

In traditional javascript, there are only objects, not classes. It is a prototype based object-oriented language. The characteristic of prototype object is to share its own properties with new objects. Compared with other traditional object-oriented languages, this writing method has a unique feeling! Very confusing! If you want to generate an ...

Posted by sarun on Fri, 14 Jan 2022 08:46:28 +0100

web front end foundation - jquery event operation and animation

catalogue 1. jQuery node insertion 1.1 internal node insertion method 1.2 external insertion node method 2. jQuery binding event 3. jQuery animation effect   1. jQuery node insertion In the process of creating nodes, in fact, we have demonstrated how to pass The append() method to insert a node. But except Besides this method, jQuery ...

Posted by selliott on Fri, 14 Jan 2022 06:36:28 +0100

[JavaScript] basic of process control statement

preface Obviously, the sequence of program execution has a significant impact on the running results of the program, so the process control statement was born. It has three basic structures: sequence structure, selection structure and loop structure. Sequential structure: code is executed from top to bottom.Select structure: perform di ...

Posted by johndale on Fri, 14 Jan 2022 06:27:42 +0100