You develop an HTML5 webpage that contains the following HTML markup:
Users must receive a message after they click the Submit button if the text entered into the favoriteColor text box is fewer than 2 characters or greater than 10 characters.
You need to implement the testLength() function.
Which code segment should you use?
TeamEcko
5 years, 5 months agolifetocode
5 years, 3 months agolifetocode
5 years, 3 months ago