Explain Codes LogoExplain Codes Logo

Best Articles — Page 325

Getting HTML elements by their attribute names

html
attribute-selectors
css3-selectors
javascript-dom

What is the difference between properties and attributes in HTML?

html
attributes
properties
html-specification

Radio buttons and label to display in same line

html
responsive-design
css-flexbox
accessibility

How to get a context in a recycler view adapter

java
context-injection
recycler-view
adapter-pattern

Create a dictionary with comprehension

python
dict-comprehensions
python-3.7
performance-tips

Get a random item from a JavaScript array

javascript
randomness
performance-optimization
array-manipulation

Removing duplicates in lists

python
remove-duplicates
list-comprehension
python-3.8

Is it possible to specify condition in Count()?

sql
conditional-counting
advanced-sql
case-statement

Implement touch using Python?

python
file-handling
permissions
timestamps

How do I detect "shift+enter" and generate a new line in Textarea?

javascript
textarea-events
keyboard-events
cross-browser-compatibility

Convert string date to timestamp in Python

python
date-conversion
timestamp
datetime

How can I add "href" attribute to a link dynamically using JavaScript?

javascript
dynamic-link-creation
event-listeners
vanilla-javascript

How do I do a simple 'Find and Replace' in MsSQL?

sql
best-practices
sql-queries
error-handling

What events does an `` fire when its value is changed?

javascript
event-handling
input-event
debouncing-techniques

How to reset index in a pandas dataframe?

python
dataframe
reset-index
pandas

Java Runtime.getRuntime(): getting output from executing a command line program

java
process-management
stream-management
error-handling

What is pluginManagement in Maven's pom.xml?

java
maven-configuration
plugin-management
pom-xml

Java 8: Difference between two LocalDateTime in multiple units

java
date-time
localdatetime
duration

Rounding BigDecimal to *always* have two decimal places

java
decimal-places
bigdecimal-rounding
java-precision-control

How can I get query string values in JavaScript?

javascript
query-string
url-search-params
javascript-utility