Results for “one”
Small, practical examples. Search by task or narrow things down below.
Run your first program
C: Start with a complete program that prints one line. Follow the run instructions below.
C✓ Tested
Scroll a referenced element into view
Scroll a referenced element into view with a small React component and explicit browser behavior.
React✓ Tested
Select an immediate parent
jQuery: parent moves exactly one level up the DOM.
jQuery✓ Tested
Select direct children without deeper descendants
jQuery: children limits matching to one level.
jQuery✓ Tested
Select the contents of an input
Select the contents of an input with a small React component and explicit browser behavior.
React✓ Tested
Select the immediately preceding sibling
jQuery: prev moves backward by one sibling.
jQuery✓ Tested
Separate state and dispatch contexts
Separate state and dispatch contexts with a small React component and explicit browser behavior.
React✓ Tested
Set a control value programmatically
Set a control value programmatically with a standalone Angular component and explicit browser behavior.
Angular✓ Tested
Set and inspect a bit flag
Store several boolean states in one byte.
bitSet✓ Tested
Set and inspect a fractional CPU limit
Docker / Compose: The cpus option records a limit in units of one billion NanoCPUs.
Docker / Compose✓ Tested
Share signal state through an injected service
Share signal state through an injected service with a standalone Angular component and explicit browser behavior.
Angular✓ Tested
Share state between sibling controls
Share state between sibling controls with a small React component and explicit browser behavior.
React✓ Tested