What kind of basic data structure is the topic 1:dom?
Answer: Dom is a tree-structured data structure
Topic 2:dom What are the common APIs for operations?
Answer: Gets the DOM node, as well as the property and attribute of the node. Gets the parent node that gets the child nodes. New node, delete node
Topic 3:dom What is the difference between the attribute and the property of a node
Answer: property is just a modification of the properties of a JS object. (via obox.name = xxx operation) attribute is a modification to the HTML Note property
Topic 4: How to detect the type of browser
Answer: Can be detected by detection navigator.useragent in the browser through the non-pass to detect
Topic 5: Dismantling parts of a URL
Answer: Use location.href location.protocol location.pathname location.search location.hash in location to get various parameters
JS face question-----Dom operation and BOM operation