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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!