KOMPX.COM or COMPMISCELLANEA.COM   

JavaScript

  1. Accessing the first element in forEach loop (JavaScript)
  2. Add thousands separator into numbers (JavaScript)
  3. Adding a class to all sibling elements of a specific type in JavaScript
  4. Append an element after a specific element in JavaScript
  5. Array to string in JavaScript
  6. Calculate sum of HTML table column in JavaScript
  7. Checking if the current URL contains a given string (JavaScript)
  8. Click event only on parent, not children
  9. Count the number of elements in an array (JavaScript)
  10. Detect if a class has been added (JavaScript)
  11. Detecting a newly generated element and adding a class to it in JavaScript
  12. Generating an HTML list out of page headings in JavaScript
  13. Get the current URL in JavaScript
  14. Get the name of a web page (JavaScript)
  15. Get the query string of a URL (JavaScript)
  16. Get the title of a web page (JavaScript)
  17. Get URL without its query string (JavaScript)
  18. Getting the last class name in classList collection
  19. How to call a function multiple times (JavaScript)
  20. JavaScript form submit
  21. JavaScript rollover. Image swap
  22. Open page full screen (JavaScript)
  23. Open page full screen with older browsers support (JavaScript)
  24. Print an array into an HTML element in JavaScript
  25. Remove all attributes of an element
  26. Removing the last character from a string in Javascript
  27. Run only once inside a loop
  28. Select all given sibling elements between two other given sibling elements in JavaScript
  29. Transliterating Russian to English in JavaScript
  30. Wrap each character of a string in <span> tag (JavaScript)
  31. Wrap each word of text in <span> tag (JavaScript)
  32. Wrap the first word of text in <span> tag (JavaScript)