Explain Codes LogoExplain Codes Logo

Best Articles — Page 372

Get decimal portion of a number with JavaScript

javascript
decimal-extraction
math-functions
precision-control

Position Absolute + Scrolling

css
responsive-design
positioning
css-only-solutions

How to get the key of a key/value JavaScript object

javascript
prompt-engineering
functions
callbacks

Mysql: How to copy rows, but change a few fields?

sql
data-alteration
sql-queries
database-management

Check if a number has a decimal place/is a whole number

javascript
prompt-engineering
functions
performance

How to assign multiple classes to an HTML container?

html
responsive-design
css
javascript

How to create a zip archive of a directory?

python
zipfile
advanced-usage
python-modules

Compare if BigDecimal is greater than zero

java
prompt-engineering
best-practices
collections

Set custom HTML5 required field validation message

javascript
prompt-engineering
validation
html5

Strange iframe added into body tags called `rufous-sandbox`

web-development
iframe
security-issues
content-security-policy

How do I remove the horizontal scrollbar in a div?

html
responsive-design
css
best-practices

Is null check needed before calling instanceof?

java
instanceof
null-check
best-practices

Why doesn't margin:auto center an image?

html
responsive-design
css
centering

Is there a minlength validation attribute in HTML?

html
input-validation
form-validation
html5-validation

How to change the CHARACTER SET (and COLLATION) throughout a database?

sql
database-migration
character-set
collation

How to get the insert ID in JDBC?

sql
jdbc
best-practices
database-operations

Copy array items into another array

javascript
array-operations
best-practices
javascript-techniques

Print all properties of a Python Class

python
object-oriented-programming
data-serialization
pretty-printing

How can I convert a long to int in Java?

java
data-types
conversion-strategies
safe-coding-practices

How to launch an Activity from another Application in Android

java
android-development
activity-launch
intent