Explain Codes LogoExplain Codes Logo

Best Articles — Page 119

Arrange 2 items per row using flexbox

html
responsive-design
css
flexbox

Using relative URL in CSS file, what location is it relative to?

html
responsive-design
best-practices
css-preprocessor

Subclassing a Java Builder Class

java
builder-pattern
generics
inheritance

Disable warnings when loading non-well-formed HTML by DomDocument (PHP)

php
error-handling
libxml
html-parsing

Setting table column width

html
responsive-design
css
best-practices

How to capitalize the first letter of each word, like a 2-word city?

javascript
string-manipulation
es6-features
performance-optimization

How to tell a Mockito mock object to return something different the next time it is called?

java
mockito
unit-testing
test-configuration

How do I fit an image (img) inside a div and keep the aspect ratio?

html
responsive-design
css
image

Bootstrap table without stripe / borders

html
responsive-design
css
best-practices

Executing multi-line statements in the one-line command-line

python
prompt-engineering
best-practices
functions

Prevent browser caching of AJAX call result

javascript
cache-control
ajax
browser-caching

How do I create a list with numbers between two values?

python
list-comprehensions
numpy
range-function

How to set DOM element as the first child?

javascript
prompt-engineering
best-practices
web-development

How can I get file extensions with JavaScript?

javascript
file-extensions
javascript-functions
performance-optimization

How do I handle newlines in JSON?

javascript
json-stringification
escape-characters
json-parsing

How to prevent form from being submitted?

javascript
event-handling
form-submission
javascript-best-practices

Select from nothing?

sql
prompt-engineering
best-practices
sql-syntax

Onchange event on input type=range is not triggering in Firefox while dragging

html
event-handling
input-event
browser-compatibility

Using Phonegap for Native Application Development

javascript
mobile-development
phonegap
cordova

Firefox Web Console Disabled?

web-development
debugging
firefox-console
browser-extensions