Explain Codes LogoExplain Codes Logo

Best Articles — Page 6

How to draw a dotted line with CSS?

html
responsive-design
css
best-practices

Javascript regex multiline text between two tags

javascript
regex
multiline
flags

Is it possible to assign numeric value to an enum in Java?

java
enum-best-practices
encapsulation
state-machine

Pass mouse events through absolutely-positioned element

html
responsive-design
pointer-events
event-propagation

Inserting string at a specific position in a string using JavaScript

javascript
prompt-engineering
functions
callbacks

Java.lang.outofmemoryerror: Java heap space in Maven

java
memory-management
maven-configuration
performance-optimization

Format output string, right alignment

python
string-formatting
f-strings
string-alignment

How to add a “readonly” attribute to an <input>?

javascript
dom-manipulation
javascript-best-practices
jquery

What is the difference between a LATERAL JOIN and a subquery in PostgreSQL?

sql
join
subquery
performance

Two divs, one fixed width, the other, the rest

html
responsive-design
css
layout

How to identify if a webpage is being loaded inside an iframe or directly into the browser window?

javascript
iframe-detection
cross-origin-restrictions
same-origin-policy

How to get the onclick calling object?

javascript
event-handling
unobtrusive-javascript
event-delegation

Make columns of equal width in ``

css
responsive-design
best-practices
accessibility

Text Blinking jQuery

javascript
best-practices
functions
callbacks

Inspect hovered element in Chrome?

web-development
prompt-engineering
best-practices
responsive-design

Escape single quote character for use in an SQLite query

sql
sql-injection
prepared-statements
escape-sequences

How to set the name of a file downloaded from a browser?

javascript
blob
file-download
javascript-techniques

Html File Input Control Acting Fussy with Capture and Accept Attributes?

html
responsive-design
best-practices
accessibility

Can a HTML button perform a POST request?

html
form-submission
button-behavior
html-forms

Extract day of week from date field in PostgreSQL assuming weeks start on Monday

sql
database
postgresql
date-extraction