Explain Codes LogoExplain Codes Logo

Javascript

Relative URL to a different port number in a hyperlink?

javascript
prompt-engineering
event-handling
url-construction

Create a string of variable length, filled with a repeated character

javascript
prompt-engineering
performance
string-manipulation

How do you get a list of the names of all files present in a directory in Node.js?

javascript
file-system
async-programming
promises

How do I iterate over a JSON structure?

javascript
iteration
json-structure
javascript-features

How to append text to a div element?

javascript
prompt-engineering
functions
callbacks

How do I get an element to scroll into view, using jQuery?

javascript
scrolling
jquery
animation

How to sort strings in JavaScript

javascript
sort-function
locale-compare
javascript-best-practices

How to get unique values in an array

javascript
prompt-engineering
functions
callbacks

How do I store an array in localStorage?

javascript
localstorage
utility-functions
error-handling

Why does PowerShell not run Angular commands?

javascript
npm
angular-cli
powershell

Dropdownlist width in IE

javascript
responsive-design
performance
best-practices

How to make `` supported on all browsers? Any alternatives?

javascript
prompt-engineering
responsive-design
best-practices

How to resolve the C:\fakepath?

javascript
file-reader-api
file-upload
security-best-practices

Auto-size dynamic text to fill fixed size container

javascript
responsive-design
performance
best-practices

How do I cancel form submission in submit button onclick event?

javascript
event-listeners
form-validation
ajax

Jquery disable/enable submit button

javascript
event-handling
jquery
user-experience

Resize HTML5 canvas to fit window

javascript
responsive-design
performance
best-practices

How to do a wildcard element name match with "querySelector()" or "querySelectorAll()" in JavaScript?

javascript
xpath
regex
wildcard-matching

How to describe "object" arguments in jsdoc?

javascript
jsdoc
object-documentation
typescript

Regex to check whether a string contains only numbers

javascript
regex-patterns
string-validation
regular-expressions