BOM and DOM operations

BOM and DOM operations What are BOM and DOM BOM refers to the object model of the browsing area, which enables js to operate the browser through it DOM refers to the document object model, which enables js to operate the front-end page (that is, all elements of HTML document) BOM needs to master operation window.open() - Open a n ...

Added by chris davies on Mon, 14 Feb 2022 13:06:18 +0200

[ES11(2020)] optional chain operator and null value merging operator

Optional chain operator Optional chain operator (?.) It is not necessary to verify whether the value of each link in the chain is explicitly valid, but whether it is allowed to read the value of each link in the chain The function of the operator is similar to The difference of chain operator is that it will not cause an error when the referen ...

Added by blakogre on Sat, 12 Feb 2022 01:03:44 +0200

The way of advertising for programmers alone? Five minutes will teach you to show love to the goddess with code

Valentine's Day is coming, and the annual abuse of Wang opera is coming once again. What is lipstick, Bing dwen dwen, Xiao Bing Bai, ice Pier? It's really low. We have our own set of tools to express our thoughts. Want to see what kind of sparks can the most rational code and the most romantic advertisement collide? Next, sister Yien will ...

Added by SnakeO on Fri, 11 Feb 2022 13:30:00 +0200

Code development specification of common problems in front-end development

Record of code non-standard problems often occurred in development Record of code non-standard problems often occurred in development 1. Template 1.1. Use v-for with v-if1.2. Avoid writing inline styles unless dynamic binding is required1.3. Remove useless code after code copy1.4. Disable complex expressions in templates 2. scrip ...

Added by mdub2112 on Fri, 11 Feb 2022 00:51:23 +0200

Boostrap Common Property Records

As a back-end developer, front-end headaches, learning bootstrap can beautify a few pages. I don't feel uncomfortable anymore. Learning address: https://www.imooc.com/video/3346 1 Navigation Bar Copy it as normal from the boostrap page. Modify the js file path. Navbar centered display, navbar-fluid line aligned left and rightThe navbar-inver ...

Added by sleepydad on Fri, 11 Feb 2022 00:02:32 +0200

vue.js project tiktok APP- tenth: review list function

[warm tips]: if you want to know more about the actual combat content of this project, you can go to vue.js project tiktok APP- project planning Learn more about project planning. [project address] The project is managed by Git, and the final project will be released to GitHub. Interested partners can learn together to improve the project. Pro ...

Added by oh_maestro on Tue, 08 Feb 2022 23:35:41 +0200

Part VIII form details

1, Form form Create an HTML form for user input, which is represented by a < from > tag, The < form > element contains one or more of the following form elements: for example, < action > < input > < textarea > < Select > < optioon > < fileset > 1. Form important attribute action Action attribu ...

Added by Dimitri89 on Tue, 08 Feb 2022 13:08:42 +0200

1000 lines of code to achieve customized image and send blessings for the year of the tiger

  1, Foreword The year of the tiger is coming. I give you the blessing of the tiger, the sweetness of the tiger, the luck of the tiger, the health of the tiger, the happiness of the tiger, the mood of the tiger, the comfort of the tiger, the success of the tiger, the happiness of the tiger and the life of the tiger!We send blessings to ...

Added by dave_biscuits on Sat, 05 Feb 2022 11:22:22 +0200

8, Event handling -- review notes of warm boiled water

preface The notes are miscellaneous this time 1, Basic usage of events in Vue (1) Review event usage in native JavaScript Three elements Get event source (which object is triggered) Binding event, event type (how to trigger, click or keyboard input, etc.) Add event handler (what to run) Using events in this way is complicated. Let's lo ...

Added by jstinehelfer on Thu, 03 Feb 2022 06:43:13 +0200

Vue 3 custom instruction development

What is directive Both Angular and Vue have the concept of Directive. We usually translate Directive into "instruction". In computer technology, an instruction is a single CPU operation defined by the instruction set architecture. In a broader sense, "instruction" can be a representation of any element of an executable prog ...

Added by MadRhino on Thu, 03 Feb 2022 03:50:23 +0200