dan_cron's public fiddles
-
Upper right
No-Library (pure JS), HTML, CSS, JavaScript
-
Self closing div does not work
No-Library (pure JS), HTML, CSS, JavaScript
-
Position divs
No-Library (pure JS), HTML, CSS, JavaScript
-
Var function
No-Library (pure JS), HTML, CSS, JavaScript
-
center two divs with truncated text
No-Library (pure JS), HTML, CSS, JavaScript
-
inline block, left align
No-Library (pure JS), HTML, CSS, JavaScript
-
Truncate text, ellipsis
No-Library (pure JS), HTML, CSS, JavaScript
-
Upper left and right
No-Library (pure JS), HTML, CSS, JavaScript
-
getDate returns previous date
No-Library (pure JS), HTML, CSS, JavaScript
-
Put div in lower right corner using relative and absolute position
No-Library (pure JS), HTML, CSS, JavaScript
-
Date Picker
Date Picker Example
-
Local time
No-Library (pure JS), HTML, CSS, JavaScript
-
Run time errors
No-Library (pure JS), HTML, CSS, JavaScript
-
Regular Expression - Capture repeating groups
No-Library (pure JS), HTML, CSS, JavaScript
-
Validate number
No-Library (pure JS), HTML, CSS, JavaScript
-
Regular Expression
No-Library (pure JS), HTML, CSS, JavaScript
-
JavaScript Regular Expressions Nested
Nested capturing parentheses. The string "qqq" delineates the string we are looking for. Result 2 is the outer capturing parentheses. Result 3 is the inner capturing parentheses.
-
JavaScript Regular Expressions
Capturing parentheses. Non-greedy matching to find the first instance. Notice that with the question mark in the regular expression, the first section, .*?, is non-greedy, and we get the first instance. Without the question mark, we get the last instance.
-
ul not bottom 1
No-Library (pure JS), HTML, CSS, JavaScript
-
table cell
No-Library (pure JS), HTML, CSS, JavaScript