Results for “open”
Small, practical examples. Search by task or narrow things down below.
Set a form field value
Populate a labeled input with jQuery val.
jQuery✓ Tested
Set an element attribute
Update an HTML link using jQuery attr.
jQuery✓ Tested
Set and inspect a bit flag
Store several boolean states in one byte.
bitSet✓ Tested
Set consistent widths for table columns
HTML: A colgroup applies presentation to whole columns without repeating styles on every cell.
HTML✓ Tested
Set text safely
Use jQuery text to insert literal content instead of interpreting HTML.
jQuery✓ Tested
Show a bounded measurement
Display a measured value within a known range using HTML meter.
HTML✓ Tested
Show determinate progress
Represent known completion with an HTML progress element.
HTML✓ Tested
Show progress with a native element
HTML: Learn how to show progress with a native element in a complete browser example.
HTML✓ Tested
Show the current value of a range input
HTML: Mirror range input events into a labeled output for a native slider.
HTML✓ Tested
Smooth a sequence with an exponential filter
Arduino / C: Blend each sample with the previous filtered value.
Arduino / C✓ Tested
Sort a list
Sort a mutable Java list in natural ascending order.
Java✓ Tested
Sort a small array in place
Arduino / C: Insertion sort needs no additional array and is suitable for small datasets.
Arduino / C✓ Tested