clearContent() vs clear() — what each one actually deletes
The Range class exposes two methods that sound similar and destroy very different things. clear() removes everything attached to the cell: the value, any number or date format, background color, borders, notes, and data validation rules. Run it on a range you spent twenty minutes formatting and you are back to a blank grey grid.
clearContent() removes only the value — the string, number, formula, or boolean stored in the cell. Every visual property stays: your alternating row colors, the currency format on column D, the dropdown validation you set up so people can only enter 'Yes' or 'No'. That is the one you want when you are resetting a weekly input form.
There is a third option worth knowing: clear({contentsOnly: true}). It does the same thing as clearContent() but takes an options object, which lets you combine flags — for example, {contentsOnly: true, commentsOnly: true} clears values and notes but keeps format and validation. For the common case of values-only, clearContent() is simpler and the intent reads out loud correctly.