FIND YOUR NEXT FEW LINES

Results for “save”

Small, practical examples. Search by task or narrow things down below.

1671 snippets foundClear filters
jQueryCollections & styling

Apply classes from explicit Boolean state

jQuery: The second toggleClass argument applies a known state consistently.

jQuery✓ Tested
CSSGetting Started

Arrange children with flexbox

CSS: Learn how to arrange children with flexbox in a complete browser example.

CSS✓ Tested
RustTesting & reusable patterns

Assert approximate floating-point equality

Assert approximate floating-point equality in a complete Rust program using the standard library.

Rust✓ Tested
Bash ScriptsParameter expansion

Assign a default to an empty or unset variable

Bash Scripts: The colon-equals expansion both supplies and assigns a fallback value.

Bash Scripts✓ Tested
PowerShellGetting Started

Assign a value to a variable

PowerShell: Assign a value to a variable using PowerShell 7.

PowerShell✓ Tested
HTMLForm behavior

Associate a control outside the form element

HTML: The form attribute links an external named control to the form’s ID.

HTML✓ Tested
HTMLTables & list numbering

Associate a data cell with explicit table headers

HTML: The headers attribute lists header IDs for a more complex cell association.

HTML✓ Tested
HTMLForms

Associate a label with an input

Give an HTML text input an accessible name using for and id.

HTML✓ Tested
HTMLGetting Started

Associate a text field with its label

HTML: Learn how to associate a text field with its label in a complete browser example.

HTML✓ Tested
HTMLAccessible structure

Associate help text with an input

HTML: aria-describedby references supplementary instructions separately from the input’s name.

HTML✓ Tested
HTMLGetting Started

Attach a custom data attribute

HTML: Learn how to attach a custom data attribute in a complete browser example.

HTML✓ Tested
HTMLText semantics

Attach a pronunciation annotation to text

HTML: Ruby and rt represent a base text and its short annotation.

HTML✓ Tested