You are developing a customer web form that includes following HTML.<input id="txtValue"/>You need to develop the form so that customers can enter only a valid country code consisting of three English alphabet characters.Which code segment should you use?
You develop an HTML5 webpage. You have the following HTML markup:You need to change the background color for all of the elements whose name attribute ends with the word name.Which code segment should you add to the webpage?
You are developing an application that consumes an external web service that returns the latest stock rate.The application has two methods:✑ The getResults() method makes an AJAX web service request✑ The ShowRate() method displays the stock rate from the web service responseYou need to ensure that the ShowRate() method always displays the latest stock rate.Which code segment should you use?
DRAG DROP -A company asks you to create a function that displays loan amounts to their customers.You must create the function by using JavaScript to meet the following requirements:✑ Display three different loan amounts to each customer.✑ Display loan amounts in order starting with the greatest amount and ending with the least amount.You need to implement the function.How should you complete the relevant code? (To answer, drag the appropriate command or commands to the correct location or locations in the answer area. Use only commands that apply.)Select and Place:
DRAG DROP -You are developing an application that reads information from a file.The application must:✑ Execute a block of code if there is an error accessing the file✑ Execute a second block of code whether or not there is an error accessing the fileYou need to ensure that the error handling requirements are met.Which three statements should you implement in sequence? (To answer, move the appropriate statements from the list of actions to the answer area and arrange them in the correct order.)Select and Place:
DRAG DROP -You are validating user input by using JavaScript and regular expressions.A group of predefined regular expressions will validate two input fields:✑ An email address in a function named validateEmail (for example,[email protected])✑ A nine-digit number that allows optional hyphens after the second and fifth character in a function named validateSSN(for example, 555555555 or 555-55-5555)You need to use the correct expression to validate the input.Which expression should you insert into each function? (To answer, drag the appropriate regular expression statement to the correct location. Each regular expression statement may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.)Select and Place: