-- used regular expressions to identify hyperlinks
-- used regular expression to check if url has http or https, and if not then prepended it
-- url wil open in new tab so that no need to reload index.html and chats will be preserved
-- added message content (sent url) inside anchor tag in textElement to make hyperlinks visible as usual messages
styles
-- added linkify class to style hyperlinks
-- added hover and visited for
javascript
-- used regular expressions to identify hyperlinks -- used regular expression to check if url has http or https, and if not then prepended it -- url wil open in new tab so that no need to reload index.html and chats will be preserved
-- added message content (sent url) inside anchor tag in textElement to make hyperlinks visible as usual messages
styles
-- added linkify class to style hyperlinks -- added hover and visited for
html
-- added autofocus to Username input