[JavaScript] common web API usage

Article catalogue 1, What is web API?2, Events 2.1 concept2.2 three elements of event 3, Get element4, Operation element 4.1 get / modify element content 4.1.1 innerText4.1.2 innerHTML 4.2 get / modify element attributes4.3 get / modify form element attributes 4.3.1 value: the value of the ...

Posted by mr00047 on Tue, 01 Mar 2022 17:58:09 +0100

Summary of problems encountered by Vue3 in creating projects

1.Uncaught SyntaxError: The requested module '/node_modules/.vite/vue-router.js?v=4b09f9b8' does not provide an export named 'default' [solution] Configuration file of Vue Router: Scheme I: import * as VueRouter from 'vue-router' import routes from './routers' const router = VueRouter.createRouter({ history: VueRouter.createWebHashHisto ...

Posted by jpschwartz on Tue, 01 Mar 2022 16:58:30 +0100

Node.js learning 13 (express framework)

1, Express introduction 1. What is Express Express is based on node JS platform, a fast, open and minimalist Web development framework. The role of ExpressExpress and node JS is similar to the built-in http module, which can help developers quickly create a Web server. ExpressExpress is a popular node based The Web application develop ...

Posted by Zoran_Dimov on Tue, 01 Mar 2022 15:33:44 +0100

Actual combat of python crawler -- crawl Taobao commodity information and import it into EXCEL form (super detailed)

Article catalogue preface1, Analyze the composition of Taobao URL2, View the web source code and extract information with re library 1. Check the source code2.re database extraction information 3: Function filling4: Main function filling5: Complete code preface This paper simply uses python's requests library and re regular expressio ...

Posted by a-scripts.com on Tue, 01 Mar 2022 12:01:55 +0100

Four methods to achieve anchor location and jump in html page

The method of clicking the jump anchor often appears in the project, such as giving an a tag a href = "# anchor", and then giving an id = "anchor" to the anchor to jump, so as to realize a simple jump, but in this way, an example such as www.geekjc.com will appear behind the url address bar COM / # anchor, and then you click ...

Posted by flash-genie on Tue, 01 Mar 2022 10:24:53 +0100

The basics you must know in Vue

Template grammar An instruction is a special attribute with a v-prefix. The attribute value of the directive is expected to be a single JavaScript expression Text Rendering {{}} syntax const app = Vue.createApp({ data() {return { msg: 'Hello Vue3' } } }) const vm = app.mount('#app') v-text instruction and v-html instruction <div v-h ...

Posted by orudie on Tue, 01 Mar 2022 09:19:34 +0100

vue+springboot save Avatar

Process: the front end sends the avatar, the back end receives it, and then creates the avatar under the class path of the project, then puts the address of the avatar into the database, updates the user's Avatar, and then returns the user information. The front end receives the user information, obtains the avatar address, and accesses the ava ...

Posted by SevereSoldier on Tue, 01 Mar 2022 06:39:50 +0100

Vue.js core learning notes - Chapter 10 form two-way binding

preface Today we'll learn about Vue JS basic command is the last module used. The next article focuses on the component area. Don't say much, let's start directly Introduction to form bidirectional binding This issue mainly focuses on the input - > select tag. This issue focuses on the implementation method and code examples. The ...

Posted by khaldryck on Tue, 01 Mar 2022 05:29:36 +0100

Front end training item "CSS&&JavaScript" and "03"

catalogue design sketch Blind spots encountered Source code design sketch The functions of color matching, adjusting clarity and changing color are realized     Blind spots encountered  1.< Label > is generally shared with < input > advantage: The label text is not only visually associated with its ...

Posted by yakabod on Tue, 01 Mar 2022 01:45:51 +0100

Several ways of vue component communication

preface In vue, there are no more than three kinds of component relationships: Components need to communicate. In development, common communication methods include vuex, eventBus, props and emit, $parent and $children. In addition, there are also provide and inject, $attrs and $listeners. 1, vuex I believe you have used this a lot. Let's br ...

Posted by fazlionline on Mon, 28 Feb 2022 15:22:19 +0100