Results for “save”
Small, practical examples. Search by task or narrow things down below.
Wrap each matched element separately
jQuery: wrap adds a parent around each selected element.
jQuery✓ Tested
Wrap long words
Allow long unbroken text to wrap within a CSS box.
CSS✓ Tested
Wrap only an element’s existing contents
jQuery: wrapInner leaves the outer element intact.
jQuery✓ Tested
Write a generic slice helper
Write a generic slice helper using a complete Go program with explicit sample inputs.
Go✓ Tested
Write a literal multiline block
Bash Scripts: Quoting the heredoc delimiter disables parameter and command expansion inside it.
Bash Scripts✓ Tested
Write a multiline string without expanding variables
PowerShell: A single-quoted here-string preserves dollar signs literally.
PowerShell✓ Tested
Write a text file
Write and close a C++ output file while checking stream failure.
C++✓ Tested
Write a text file
Open, write, and close a C file while checking every operation.
C✓ Tested
Write a UTF-8 file
Write a Java string to a file using an explicit text encoding.
Java✓ Tested
Write a UTF-8 file
Use the built-in Node.js filesystem API to save text.
JavaScript✓ Tested
Write an ordered set of steps
HTML: Learn how to write an ordered set of steps in a complete browser example.
HTML✓ Tested
Write an unordered list
HTML: Learn how to write an unordered list in a complete browser example.
HTML✓ Tested