Explain Codes LogoExplain Codes Logo

Javascript

Stop setInterval

javascript
interval-management
javascript-best-practices
ajax-handling

Communication between tabs or windows

javascript
postmessage
broadcastchannel
localstorage

Typescript export vs. default export

javascript
typescript
export
import

Replace a string in a file with nodejs

javascript
prompt-engineering
async-await
regex

Drawing an SVG file on a HTML5 canvas

javascript
canvas
svg
drawing

Next.js Redirect from / to another page

javascript
client-side-redirects
nextjs
middleware

Moment js date time comparison

javascript
prompt-engineering
momentjs
date-time-comparison

Jquery - setting the selected value of a select control via its text description

javascript
prompt-engineering
best-practices
web-development

Last 5 array elements, but the first one feels left out

javascript
slice
immutability
performance

Call two functions from the same onclick

javascript
event-handling
best-practices
async-functions

(change) vs (ngModelChange) in Angular

javascript
event-handling
angular-forms
performance-optimization

How do search engines deal with AngularJS applications?

javascript
seo
angularjs
search-engines

Using Selenium WebDriver to retrieve the value of an HTML input

javascript
webdriver
javascript-executor
selenium

How do I access an array item by index in handlebars?

javascript
handlebars
array-access
javascript-templates

How to use FormData for AJAX file upload?

javascript
ajax-file-upload
formdata
javascript-objects

How can I stop the browser back button using JavaScript?

javascript
prompt-engineering
callbacks
history-api

Background image jumps when address bar hides iOS/Android/Mobile Chrome

javascript
responsive-design
performance
best-practices

Sort a JavaScript array based on another array

javascript
custom-sorting
advanced-methods
performance

How to use ESLint with Jest

javascript
eslint
jest
testing

Jquery.inarray(): Mastering It like A Pro in JavaScript

javascript
prompt-engineering
functions
callbacks