Explain Codes LogoExplain Codes Logo

Javascript

Rerender view on browser resize with React

javascript
debouncing
custom-hooks
event-listeners

What is the meaning of the "at" (@) prefix on npm packages?

javascript
npm
package-management
scoped-packages

An index signature parameter type cannot be a union type. Consider using a mapped object type instead

javascript
mapped-types
enum
type-aliases

How do I remove javascript validation from my eclipse project?

javascript
javascript-validator
eclipse-settings
validation

How to submit an HTML form without redirection

javascript
ajax
form-validation
javascript-best-practices

How to render string with html tags in Angular 4+?

javascript
angular
security
sanitization

Axios - DELETE Request With Request Body and Headers?

javascript
axios
delete-request
request-body

How to remove focus from an input field in jQuery?

javascript
prompt-engineering
functions
callbacks

What is VanillaJS?

javascript
performance
best-practices
web-development

How to handle the `onKeyPress` event in ReactJS?

javascript
event-handling
react-best-practices
key-events

How to simulate a click by using x, y coordinates in JavaScript?

javascript
event-sequence
mouse-event
dom-manipulation

Innertext vs innerHTML vs label vs text vs textContent vs outerText

javascript
performance
best-practices
cross-browser-compatibility

How to extract the hostname portion of a URL in JavaScript

javascript
url-parsing
javascript-objects
regular-expressions

Checkbox Check Event Listener

javascript
event-listeners
checkboxes
dom-manipulation

Format a number as 2.5K if a thousand or more, otherwise 900

javascript
formatting
number-formatting
intl-number-format

Escaping HTML strings with jQuery

javascript
html-escaping
jquery
security

Get a pixel from HTML Canvas?

javascript
canvas
image-data
pixel-manipulation

Ctrl + Enter using jQuery in a TEXTAREA

javascript
event-handling
key-combinations
jquery-plugin

Submitting a form on 'Enter' with jQuery?

javascript
form-submission
jquery
event-handling

Session only cookies with Javascript

javascript
session-management
cookies
javascript-utility-functions