Explain Codes LogoExplain Codes Logo

Javascript

How to set favicon.ico properly on a Vue.js webpack project?

javascript
webpack
vue.js
favicon

Google Maps: How to create a custom InfoWindow?

javascript
prompt-engineering
best-practices
responsive-design

How to remove "onclick" with JQuery?

javascript
event-delegation
event-handling
jquery

Programmatically change the src of an img tag

javascript
event-listeners
image-manipulation
best-practices

How to skip to next iteration in jQuery.each() util?

javascript
callbacks
functions
best-practices

Execcommand() is now obsolete, what's the alternative?

javascript
web-development
accessibility
best-practices

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