Explain Codes LogoExplain Codes Logo

Javascript

Delete first character of a string if it's '0'

javascript
string-manipulation
regular-expressions
functions

".addeventlistener is not a function" why does this error occur?

javascript
event-listeners
dom-manipulation
javascript-best-practices

How to remove item from array by value?

javascript
array-manipulation
javascript-prototype
filter-method

Textarea that can do syntax highlighting on the fly?

javascript
syntax-highlighting
code-editor
textarea

How can I guarantee that my enums definition doesn't change in JavaScript?

javascript
enum
javascript-best-practices
object-freeze

Find a value in an array of objects in Javascript

javascript
prompt-engineering
functions
callbacks

Disable all form elements inside div

javascript
prompt-engineering
functions
callbacks

Get client time zone from browser

javascript
time-zone-detection
client-side-timezone
browser-timezone

Node.js Port 3000 already in use, but it isn't?

javascript
port-management
process-termination
nodemon

Wait cursor over entire HTML page

javascript
prompt-engineering
ajax
wait-cursor

Converting user input string to regular expression

javascript
prompt-engineering
functions
callbacks

Disable time in bootstrap date time picker

javascript
datetimepicker
momentjs
internationalization

Get selected value in dropdown list using JavaScript

javascript
prompt-engineering
functions
callbacks

Incrementing a date in JavaScript

javascript
date-manipulation
time-zone
daylight-saving-time

Overriding interface property type defined in Typescript d.ts file

javascript
type-aliases
interface-extension
type-safety

Where does npm install packages?

javascript
npm
package-management
node-modules

Map function for objects (instead of arrays)

javascript
object-transformation
javascript-techniques
functional-programming

After submitting a POST form open a new window showing the result

javascript
prompt-engineering
promises
callbacks

How to load up CSS files using Javascript?

javascript
prompt-engineering
functions
promises

Is there a mechanism to loop x times in ES6 (ECMAScript 6) without mutable variables?

javascript
prompt-engineering
functions
promises