document.getElementById():
It is one of the most common was to select a single element in HTML DOM by its id.document.getElementByClassName():
Its used to select the elements that have the specified class name.document.getElementByTagName():
It returns an HTML collection of all element in the document that have the specific tag name.document.QuerySelector():
It returns the first element within the document that matches the specified css selector.document.CreateElement():
Its a method of the document object that create a new element node with the specified tag name.PraseInt():
It parses the string element element and returns the integerpraseFloat():
This function parses a string and returns a floating-point number.bind():
Like to putting the sticky note on the function that remember this specific thing.array.push():
Adds something to the end of the list.arrray.pop():
Removes last thing from the list.max():
It act like toolbox inside the math tools insideMath.abs():
Makes a number positivedocument.getRootNode():
Finds the very top of HTML tree on a webpagegetSolution():
Its is used to solve a specific problemconsole.error():
prints error message to the console.array.sort():
puts a list in orderarray.shift():
Removes the first thing from a list(array)unshift():
Adds something to the beginning of a list.document.addEvenListener():
Listens for something to happen on a webpage and then does somethingeval():
Runs code that is inside a string.escape():
Encodes a string for safe travel on the internetsum():
Adds number togetherdocument.right():
writes something directly onto the webpage.array.length():
It tells you how many things are in the listconsole.log():
It prints the argument to the console.
For further actions, you may consider blocking this person and/or reporting abuse
Top comments (0)