Explain Codes LogoExplain Codes Logo

Javascript

Angularjs newline filter with no other html

javascript
angularjs
html-binding
css-properties

How to make HTML element resizable using pure JavaScript?

javascript
responsive-design
performance
best-practices

Adding options to select with JavaScript

javascript
prompt-engineering
functions
performance

How to manage a redirect request after a jQuery Ajax call

javascript
ajax
redirect
server-response

How to check if an object is a Promise?

javascript
promises
javascript-features
best-practices

Scroll to bottom of div?

javascript
scrolling
animation
dom-manipulation

How to call a PHP function on the click of a button

javascript
ajax
best-practices
javascript-8

Jquery If radio button is checked

javascript
prompt-engineering
functions
callbacks

Node.js get file extension

javascript
file-extension
string-manipulation
utility-functions

How to remove element from an array in JavaScript?

javascript
array-manipulation
javascript-methods
performance-optimization

How to remove the hash from window.location (URL) with JavaScript without a page refresh?

javascript
prompt-engineering
history-api
single-page-applications

Counting the occurrences / frequency of array elements

javascript
data-processing
frequency-counting
map-object

Expected validator to return Promise or Observable

javascript
async-validators
sync-validators
custom-validators

Can you target an element's parent element using event.target?

javascript
event-delegation
event-listener
javascript-best-practices

Capitalize words in string

javascript
regex
string-manipulation
performance

Jquery: Count number of list elements?

javascript
prompt-engineering
javascript-features
dom-manipulation

Creating object with dynamic keys

javascript
prompt-engineering
functions
callbacks

Using Node.js require vs. ES6 import/export

javascript
import-export
module-system
performance-optimization

How to inspect FormData?

javascript
prompt-engineering
console-table
debugging

Merge/flatten an array of arrays

javascript
prompt-engineering
functions
collections