If you don't mind tech-related ads, and want to keep us running, whitelist JSFiddle in your ad blocker.
Thank you! ❤️
Which is better?
Someone said it was tricky. Doesn't look tricky.
One way to make this like a class?
When my son's assignment involves me shuffling his spelling words for him, it seems reasonable to write code.
Unwrap lots of divs.
Make lots of divs.
A fiddle for a work project.
Is this a legal way to use a table? It is, after all, tabular data. Right? No?
Format a date to remove the time. Display a helpful message if the date is invalid (besides "NaN"). This is for dates already on the page.
Some versions of IE create trails if the user tries to move a JS alert box called on window load.
A demo of recursively calling a function.
A little code to pick a range of five dates that are neither on holidays nor weekends. This project was for work.
In a meeting? Play with CSS.
Copy text from one place to another.
Move the pickle into a barrel. Cute art. Definitely doesn't work in all browsers.
The keyboard is having an event.
Listening for the input event on the range input type.
Iterate through an object's properties.
Use map to get pieces of array elements.
Filter items out of an array.
More MCSD studying.
There are a few.
Sort them! Do it!
What happens if I dynamically resize an array and then loop through its elements?
for, for...if, forEach, and for var of.
Create an object or just run a function.
Don't pollute the global namespace. Or the air.
It's two demos in one.
Yeah, it's not that cool.
They're actually more useful than this demo lets on.
This is actually a bad example because labels and placeholders are not semantically interchangeable.