Explain Codes LogoExplain Codes Logo

Javascript

Convert string with commas to array

javascript
split-method
string-manipulation
array-conversion

Jquery .html() vs .append()

javascript
prompt-engineering
best-practices
performance

Difference between npx and npm?

javascript
package-management
npm-vs-npx
package-execution

Are loops really faster in reverse?

javascript
loop-performance
javascript-engines
benchmarking

How to get text of an input text box during onKeyPress?

javascript
event-handling
real-time-data-processing
input-events

How do I delete an item or object from an array using ng-click?

javascript
angularjs
array-manipulation
javascript-best-practices

Jquery selector regular expressions

javascript
regex
jquery-selector
performance

Add new attribute (element) to JSON object using JavaScript

javascript
json
javascript-objects
data-interchange-format

Access to ES6 array element index inside for-of loop

javascript
loop-control
iterator-protocol
array-indexing

Invariant Violation: _registerComponent(...): Target container is not a DOM element

javascript
react
dom
javascript-best-practices

How do I remove a file from the FileList

javascript
filelist
array-manipulation
dom-updates

How can I select an element with multiple classes in jQuery?

javascript
jquery-selectors
javascript-best-practices
web-development

Programmatically Lighten or Darken a Hex Color (or RGB, and Blend Colors)

javascript
color-manipulation
web-development
performance

Textarea Auto height

javascript
responsive-design
performance
best-practices

Angularjs ng-repeat handle empty list case

javascript
prompt-engineering
best-practices
responsive-design

Angular/material2 mat-spinner resize

javascript
responsive-design
best-practices
css

How to disable an input type=text?

javascript
prompt-engineering
best-practices
security

How to get JQuery.trigger('click'); to initiate a mouse click

javascript
event-delegation
event-handling
dom-manipulation

Simplest/cleanest way to implement a singleton in JavaScript

javascript
singleton
es6-classes
thread-safety

Es6 exporting/importing in index file

javascript
promises
callbacks
best-practices