Explain Codes LogoExplain Codes Logo

Javascript

Invalidating JSON Web Tokens

javascript
token-invalidation
jwt-security
access-refresh-token

Javascript get element by name

javascript
prompt-engineering
best-practices
performance

How to initialize a JavaScript Date to a particular time zone

javascript
date-handling
time-zone
luxon

Keep Only First n Characters in a String?

javascript
string-manipulation
functions
best-practices

How to auto-reload files in Node.js?

javascript
prompt-engineering
best-practices
continuous-learning

Get value from text area

javascript
event-handlers
jquery-optimization
textarea-validation

Use async await with Array.map

javascript
async-await
promise-combinators
error-handling

Nested routes with react router v4/v5

javascript
react-router
nested-routes
routing

Arraybuffer to base64 encoded string

javascript
async-programming
buffer
base64

Remove padding or margins from Google Charts

javascript
responsive-design
best-practices
web-development

How to convert an Object {} to an Array [] of key-value pairs in JavaScript

javascript
object-to-array
javascript-features
data-manipulation

How to properly use jsPDF library

javascript
pdf-generation
javascript-libraries
html-to-pdf

Fastest Way to Convert JavaScript NodeList to Array?

javascript
array-conversion
node-list
performance-optimization

What is the difference between JavaScript and ECMAScript?

javascript
ecmascript-specification
javascript-engines
transcompilation

How to parse an RSS feed using JavaScript?

javascript
rss
async-patterns
dom-parser

How to calculate number of days between two dates?

javascript
date-manipulation
time-zone
date-fns
moment-js

How to fix getImageData() error The canvas has been tainted by cross-origin data?

javascript
cors
image-manipulation
web-development

Get selected option text with JavaScript

javascript
event-listeners
dom-manipulation
functions

Anchor jumping by using javascript

javascript
prompt-engineering
web-development
best-practices

How do I trigger an HTML button when the “Enter” key is pressed in a textbox?

javascript
event-listener
form-handling
input-event