Explain Codes LogoExplain Codes Logo

Best Articles

Selecting data from two different servers in SQL Server

sql
linked-servers
cross-server-communication
sql-server

Python logging not outputting anything

python
logging
debugging
best-practices

How do you stretch an image to fill a <div> while keeping the image's aspect-ratio?

html
responsive-design
css-transform
object-fit

Set cellpadding and cellspacing in CSS?

css
responsive-design
best-practices
box-model

Event.preventdefault() vs. return false

javascript
event-handling
javascript-standards
vanilla-javascript

Mysql: difference between two timestamps in seconds?

sql
timestampdiff
unix_timestamp
datetime

Check whether an input string contains a number in JavaScript

javascript
prompt-engineering
functions
regex

Render HTML to an image

javascript
prompt-engineering
web-development
best-practices

What are the most common font-sizes for H1-H6 tags

html
responsive-design
css
font-sizes

"cross origin requests are only supported for HTTP." error when loading a local file

web-development
cross-origin
local-server
http-server

Detect all changes to an `` (immediately) using JQuery

javascript
event-handling
debouncing
performance-optimization

How do I restore a dump file from mysqldump?

sql
mysql
database
backup

Size of VARBINARY field in SQL Server 2005

sql
data-length
varbinary
sql-server

Split Java String by New Line

java
string-manipulation
regex
java-8

How to check if element is visible after scrolling?

javascript
visibility-checks
intersection-observer
scroll-events

How to dynamically create CSS class in JavaScript and apply?

javascript
dynamic-styles
css-in-js
responsive-design

Normalize columns of a dataframe

python
dataframe
pandas
data-preprocessing

How do I append to a file?

python
file-handling
file-modes
file-io

Is it safe to use Project Lombok?

java
lombok
best-practices
java-8

Center aligning a fixed position div

html
responsive-design
flexbox
grid