KOMPX.COM or COMPMISCELLANEA.COM   

JavaScript

  1. Accessing the first element in forEach loop (JavaScript)
  2. Adding a class to all sibling elements of a specific type in JavaScript
  3. Append an element after a specific element in JavaScript
  4. Array to string in JavaScript
  5. Calculate sum of HTML table column in JavaScript
  6. Click event only on parent, not children
  7. Detect if a class has been added (JavaScript)
  8. Detecting a newly generated element and adding a class to it in JavaScript
  9. Generating an HTML list out of page headings in JavaScript
  10. Get the current URL in JavaScript
  11. Getting the last class name in classList collection
  12. JavaScript form submit
  13. JavaScript rollover. Image swap
  14. Remove all attributes of an element
  15. Removing the last character from a string in Javascript
  16. Run only once inside a loop
  17. Transliterating Russian to English in JavaScript
  18. Wrap each character of a string in <span> tag (JavaScript)
  19. Wrap each word of text in <span> tag (JavaScript)
  20. Wrap the first word of text in <span> tag (JavaScript)