Explain Codes LogoExplain Codes Logo

Best Articles — Page 14

Text-align class for inside a table

html
responsive-design
text-alignment
bootstrap-5

Testing whether a value is odd or even

javascript
input-validation
exception-handling
performance-optimization

Test if a string contains any of the strings from an array

java
streaming
method-references
performance-optimization

Tensorflow 2.0 - AttributeError: module 'tensorflow' has no attribute 'Session'

python
eager-execution
tf-function
migration-guide

Take a char input from the Scanner

java
scanner
input
character

Tainted canvases may not be exported

html
cors-headers
local-development
web-development

Tab Character Instead of Multiple Non-Breaking Spaces ("nbsp")?

html
responsive-design
css-best-practices
html-entities

System.currenttimemillis() vs. new Date() vs. Calendar.getInstance().getTime()

java
high-precision-timing
date-time-handling
performance-optimization

Syntaxerror: Use of const in strict mode

javascript
javascript-upgrade
es6-support
babel-transpilation

Syntaxerror: Unexpected token o in JSON at position 1

javascript
json-parse
try-catch
data-verification

"syntaxerror: Non-ASCII character ..." or "SyntaxError: Non-UTF-8 code starting with ..." trying to use non-ASCII text in a Python script

python
utf-8
encoding-declaration
unicode-literals

Synchronization vs Lock

java
concurrency-control
lock-acquisition
deadlocks

Switch Statement for String Matching in JavaScript

javascript
switch-statement
string-matching
regex-patterns

Svg icons vs. PNG icons in modern web sites

html
responsive-design
performance
web-development

Svg drop shadow using css3

html
css3
svg-filters
responsive-design

Super() fails with error: TypeError "argument 1 must be type, not classobj" when parent does not inherit from object

python
method-resolution-order
class-inheritance
python-2.x

Sum a list of numbers in Python

python
functions
dataframe
pandas

Submit HTML form on self page

html
form-submission
html5-specifications
security-best-practices

Style not working for innerHTML in Angular

javascript
view-encapsulation
dom-sanitizer
angular-security

Str.startswith with a list of strings to test for

python
prompt-engineering
performance
functions