Explain Codes LogoExplain Codes Logo

Best Articles — Page 321

Jquery .live() vs .on() method for adding a click event after loading dynamic html

javascript
event-delegation
performance-optimization
best-practices

Onclick javascript to make browser go back to previous page?

javascript
onclick-event
browser-history
javascript-functions

Remove duplicates from SQL union

sql
sql-union
sql-best-practices
sql-performance

How can I perform a debounce?

javascript
debounce
react-hooks
async-programming

How can I set focus on an element in an HTML form using JavaScript?

javascript
focus
javascript-dom
accessibility

How can I change the color of header bar and address bar in the newest Chrome version on Lollipop?

html
responsive-design
meta-tags
browser-compatibility

Css vertical alignment of inline/inline-block elements

html
css-properties
vertical-alignment
responsive-design

How can I convert a string to boolean in JavaScript?

javascript
boolean-conversion
javascript-operators
truthy-falsy-values

Relative imports in Python 3

python
relative-imports
package-structure
import-strategy

Print content of JavaScript object?

javascript
json-stringify
console-log
object-printing

Python logging: use milliseconds in time format

python
logging
datetime
custom-formatter

How can I set max-length in an HTML5 "input type=number" element?

html
maxlength
input-type-number
javascript-events

What's the difference between `typeof` and `instanceof` in JavaScript and when should they each be used?

javascript
type-checking
instanceof
typeof-operator

How to parse float with two decimal places in javascript?

javascript
float-parsing
decimal-places
performance-optimization

Putting a simple if-then-else statement on one line

python
ternary-operator
code-readability
syntactic-sugar

Why cannot change checkbox color whatever I do?

html
responsive-design
css-transitions
browser-compatibility

Are empty HTML data attributes valid?

html
data-attributes
html-validation
css-integration

Plot two histograms on single chart

python
histograms
matplotlib
data-visualization

Removing the first 3 characters from a string

java
string-manipulation
exception-handling
performance-optimization

Can you organize imports for an entire project in eclipse with a keystroke?

java
eclipse-configuration
import-management
productivity-tips