Selection:
document.getElementById('idName')
document.getElementsByClassName('className')
document.getElementsByTagName('tagName')
document.querySelector('cssSelector')
document.querySelectorAll('cssSelector')
Content Manipulation:
element.textContent
element.innerHTML
element.setAttribute('attributeName', 'value')
element.getAttribute('attributeName')
Style Manipulation:
element.style.propertyName (element.style.color = 'red')
Structure Manipulation:
document.createElement('tagName')
parentNode.appendChild(childNode)
parentNode.removeChild(childNode)
Event Handling:
element.addEventListener('eventName', function)
For further actions, you may consider blocking this person and/or reporting abuse
Top comments (0)