+ 13
đ„ Ultimate Challenge [advanced coders]đ„
Write a "WEB" code which automatically detects which input is a link and opens in users browser upon clicking on the link eg: Sololearn automatically detects www.a.com to be a link but it leaves others like ww.a.com and texts as ordinary. hint: you can use any tag of your choice like <textarea>, <div>, <input> etc.
2 RĂ©ponses
+ 7
You tried very well but the link does not work without "http://" eg: http://www.a.com is a link and www.a.com is also a link, but the later doesn't work on your code.
your link doesn't work if other texts precedes it and if it is the first line of text, all others becomes it.
...thanks a lot for your great trial, looking forward to seeing the modified version of your codeđđđ