HTML: Changed textarea element to an input element and set max character (so user can’t enter paragraphs/impossibly long words). Added code comments to explain changes to collabs. Formatted document.
CSS: Add styling to the input element (so it’s bigger).
JS: Fixed existing functions so the error messages are displayed when user doesn’t enter a word in the input element.
HTML: Changed textarea element to an input element and set max character (so user can’t enter paragraphs/impossibly long words). Added code comments to explain changes to collabs. Formatted document.
CSS: Add styling to the input element (so it’s bigger).
JS: Fixed existing functions so the error messages are displayed when user doesn’t enter a word in the input element.