KOMPX.COM or COMPMISCELLANEA.COM   

JavaScript

  1. Accessing the first element in forEach loop (JavaScript)
  2. Add an event listener to multiple different elements at once (JavaScript)
  3. Add multiple classes at once (JavaScript)
  4. Add an external CSS file by JavaScript
  5. Add thousands separator into numbers (JavaScript)
  6. Adding a class to all sibling elements of a specific type in JavaScript
  7. Append an element after a specific element in JavaScript
  8. Array to string in JavaScript
  9. Auto-stretch textarea to fit its content (JavaScript)
  10. Calculate sum of HTML table column in JavaScript
  11. Capitalize the first letter (JavaScript)
  12. Checking if the current URL contains a given string (JavaScript)
  13. Click event only on parent, not children
  14. Convert time display from «00 h 00 m 00 s» to HH:MM:SS format (JavaScript)
  15. Count the number of elements in an array (JavaScript)
  16. Detect if a class has been added (JavaScript)
  17. Detecting a newly generated element and adding a class to it in JavaScript
  18. Disable input type="button" (JavaScript)
  19. Generating an HTML list out of page headings in JavaScript
  20. Get class name of an element on click (JavaScript)
  21. Get tag name of an element on click (JavaScript)
  22. Get the current URL in JavaScript
  23. Get the name of a web page (JavaScript)
  24. Get the parent of a specified type (JavaScript)
  25. Get the parent of an element (JavaScript)
  26. Get the query string of a URL (JavaScript)
  27. Get the title of a web page (JavaScript)
  28. Get URL without its query string (JavaScript)
  29. Getting the last class name in classList collection
  30. How to call a function multiple times (JavaScript)
  31. JavaScript form submit
  32. JavaScript rollover. Image swap
  33. Open page full screen (JavaScript)
  34. Open page full screen with older browsers support (JavaScript)
  35. Print an array into an HTML element in JavaScript
  36. Print current year in JavaScript
  37. Remove all attributes of an element
  38. Remove all classes at once in JavaScript
  39. Removing the last character from a string in Javascript
  40. Run only once inside a loop
  41. Select all given sibling elements between two other given sibling elements in JavaScript
  42. Transliterating Russian to English in JavaScript
  43. Wrap each character of a string in <span> tag (JavaScript)
  44. Wrap each word of text in <span> tag (JavaScript)
  45. Wrap the first word of text in <span> tag (JavaScript)