Explain Codes LogoExplain Codes Logo

Javascript

How to create an array containing 1...N

javascript
array-initialization
javascript-arrays
performance-optimization

How can I get all a form's values that would be submitted without submitting

javascript
form-data
ajax-requests
event-listeners

Fastest way to copy a file in Node.js

javascript
streaming
promises
async-await

Is there a JavaScript function that can pad a string to get to a determined length?

javascript
string-manipulation
polyfill
performance-optimization

How to Convert an HTMLElement to a String

javascript
serialization
xmlserializer
xss-prevention

How do I use namespaces with TypeScript external modules?

javascript
module-exports
typescript-modules
namespace-management

Check if any ancestor has a class using jQuery

javascript
jquery-methods
dom-traversal
javascript-performance

How do I clear the content of a div using JavaScript?

javascript
event-listeners
dom-manipulation
javascript-magic

How to set header and options in axios?

javascript
axios-headers
javascript-configuration
http-methods

How to make an input type=button act like a hyperlink and redirect using a GET request?

javascript
onclick-event
redirect
get-request

How to remove and clear all localStorage data

javascript
localstorage
javascript-best-practices
web-development

How to list npm user-installed packages

javascript
npm
package-management
command-line-interfaces

For loop for HTMLCollection elements

javascript
iterators
htmlcollection
dom-manipulation

How to scroll to an element inside a div?

javascript
scrolling
smooth-scroll
scrollintoview

Submit form without page reloading

javascript
form-data-api
javascript-performance
ajax-alternatives

Check if element exists in jQuery

javascript
jquery
selectors
dom-manipulation

How to manually trigger validation with jQuery validate?

javascript
jquery
form-validation
manual-validation

What is the difference between 'it' and 'test' in Jest?

javascript
jest
bdd
testing

Creating a div element in jQuery

javascript
jquery
dom-manipulation
interactivity

How do I uninstall a Service Worker?

javascript
service-worker
cache
developer-tools