By adding the spellcheck="true" HTML attribute to any text field, browsers will automatically check for spelling errors.
<p contenteditable spellcheck="true">This exampull will be checkd fur spellung when you try to edit it.</p>https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/spellcheck