Code0Em / lingua-sonnet

A web application to search word definitions, pronunciations and usage in poetry
MIT License
0 stars 1 forks source link

Fixes to input word field and functions when no word is entered by user #51

Closed Code0Em closed 9 months ago

Code0Em commented 9 months ago

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.