Question: the page below has two form elements( a text and a button) and a div. When the button clicked your script should check whether input
the page below has two form elements( a text and a button) and a div. When the button clicked your script should check whether input value represents a domain or not. If represents div displays valid, invalid otherwise.
Valid domains: www.bike24.com, www.freecycle.fr, www.europamtb.com, www.bikeinn.com
Invalid domains: http://www.emu.edu, https://www.bike24.com
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
