Explain Codes LogoExplain Codes Logo

Javascript

Get pixel color from canvas, on mousemove

javascript
performance
requestanimationframe
event-listeners

Can you write async tests that expect toThrow?

javascript
async-testing
error-handling
promise-testing

Comparing date part only without comparing time in JavaScript

javascript
date-comparison
javascript-utility
best-practices

How can I simulate an anchor click via jQuery?

javascript
event-delegation
jquery-plugin
debugging-tools

Is it possible to access an SQLite database from JavaScript?

javascript
indexeddb
sql-js
local-storage

How to get JS variable to retain value after page refresh?

javascript
localstorage
sessionstorage
async-storage

Disabling Android's Chrome Pull-Down-to-Refresh Feature

javascript
touch-interactions
scroll-behavior
event-handlers

Return string without trailing slash

javascript
prompt-engineering
functions
callbacks

Reactjs: How to determine if the application is being viewed on mobile or desktop browser

javascript
responsive-design
hooks
conditional-rendering

Set height of chart in Chart.js

javascript
responsive-design
performance
best-practices

Javascript isset() equivalent

javascript
prompt-engineering
existence-checks
javascript-operators

Queryselector for Web Elements Inside iframe

javascript
iframe
dom-manipulation
cross-origin

How to add a number of days to today's date?

javascript
date-manipulation
javascript-8
functions

Javascript seconds to time string with format hh:mm:ss

javascript
prompt-engineering
functions
callbacks

Is there a link to the "latest" jQuery library on Google APIs?

javascript
best-practices
performance
testing

Error Running React Native App From Terminal (iOS)

javascript
react-native
xcode
command-line-tools

Jslint is suddenly reporting: Use the function form of "use strict"

javascript
linting
javascript-best-practices
strict-mode

How to get a subset of a JavaScript object's properties

javascript
functions
callbacks
promises

Access event to call preventdefault from custom function originating from onclick attribute of tag

javascript
event-handling
preventdefault
onclick-attribute

Angularjs ngClass conditional

javascript
prompt-engineering
best-practices
responsive-design