$el.classList.remove('shaking'), 820))"
x-transition:enter="ease-out duration-300"
x-transition:enter-start="opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95"
x-transition:enter-end="opacity-100 translate-y-0 sm:scale-100"
x-transition:leave="ease-in duration-200"
x-transition:leave-start="opacity-100 translate-y-0 sm:scale-100"
x-transition:leave-end="opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95"
x-bind:class="modalWidth"
class="inline-block w-full align-bottom bg-white dark:bg-neutral-900 rounded-lg text-right overflow-hidden shadow-xl transform transition-all sm:my-8 sm:align-middle sm:w-full"
id="modal-container"
>
1- loose vs lose
This confusion can easily be avoided if you pronounce the word intended aloud. If it has a voiced Z sound, then it’s “lose.” If it has a hissy S sound, then it’s “loose.” Here are examples of correct usage: “He tends to lose his keys.” “She lets her dog run loose.” Note that when “lose” turns into “losing” it loses its “E.”
2-
lead vs led
When you’re hit over the head, the instrument could be a “lead” pipe. But when it’s a verb, “lead” is the present and “led” is the past tense. The problem is that the past tense is pronounced exactly like the above-mentioned plumbing material (“plumb” comes from a word meaning “lead”), so people confuse the two. In a sentence like “She led us to the scene of the crime,” always use the three-letter spelling.
3-
late vs former
If you want to refer to your former husband, don’t call him your “late husband” unless he’s dead.
4-
later vs latter
the word “latter” usually refers back to the last-mentioned of a set of alternatives. “We gave the kids a choice of a vacation in Paris, Rome, or Disney World. Of course the latter was their choice.” In other contexts not referring back to such a list, the word you want is “later.”
5-
like or as if
As if” is generally preferred in formal writing over “like” in sentences such as “the conductor looks as if he’s ready to begin the symphony.” But in colloquial speech, “like” prevails, and when recording expressions such as “he spends money like it’s going out of style” it would be artificial to substitute “as if.” And in expressions where the verb is implied rather than expressed, “like” is standard rather than “as": “she took to gymnastics like a duck to water.”