Explain Codes LogoExplain Codes Logo

Javascript

How to check if an array index exists or not in JavaScript?

javascript
prompt-engineering
functions
optional-chaining

Calculate age given the birth date in the format YYYYMMDD

javascript
prompt-engineering
functions
date-parsing

What characters are valid for JavaScript variable names?

javascript
unicode-identifiers
variable-names
future-proofing

Replace all spaces in a string with '+'

javascript
regex
string-manipulation
performance

Map Tiling Algorithm

javascript
map-tiling
algorithm-optimization
edge-blending

Download File Using JavaScript/jQuery

javascript
prompt-engineering
download-attribute
fetch-api

How to add additional fields to form before submit?

javascript
form-handling
dynamic-forms
validation

Get the value of checked checkbox?

javascript
event-listeners
checkbox-interactions
dom-manipulation

'dragleave' of parent element fires when dragging over children elements

javascript
event-delegation
drag-and-drop
event-handling

Refresh/reload the content in Div using jquery/ajax

javascript
ajax
jquery
promises

Jquery Popup Bubble/Tooltip

javascript
prompt-engineering
responsive-design
best-practices

Permutations in JavaScript?

javascript
promises
generator-functions
performance

How to round float numbers in javascript?

javascript
prompt-engineering
functions
performance

Replace multiple characters in one replace call

javascript
prompt-engineering
functions
regex

How can I generate an APk that can run without server with react-native?

javascript
apk-generation
react-native
offline-app

How to insert an element after another element in JavaScript without using a library?

javascript
dom-manipulation
javascript-functions
browser-compatibility

How to convert decimal to hexadecimal in JavaScript

javascript
promises
callbacks
best-practices

Detect browser or tab closing

javascript
event-handling
browser-detection
session-storage

How to format a number with commas as thousands separators?

javascript
number-formatting
javascript-functions
regex-performance

Change Select List Option background color on hover

javascript
custom-dropdown
css-box-shadow
javascript-events