First week of coding the app. JS now works to identify when the user stops writing and acts accordingly.