What should you do?
DRAG DROP You are developing a web page for runners who register for a race. The page includes a slider control that allows users to enter their age. You have the following requirements: • All runners must enter their age. • Applications must not be accepted from runners less than...
Which code segment should you use?
You are developing a web page that has a group of H1 and H2 elements. The page also includes a CSS class named underlineMe. You have the following requirements: • The font color of all H1 and H2 elements must be changed to red. • The CSS class underlineMe must...
What is displayed in the alert from line 11?
You are troubleshooting a web page that includes the following code. (Line numbers are included for reference only.) What is displayed in the alert from line 11?A . DivB . FunctionC . ButtonD . DocumentView AnswerAnswer: C Explanation: * The event handler here normalizes event object (passed as a first...
Which code segment should you use?
You are creating a JavaScript object that represents a customer. You need to extend the Customer object by adding the GetCommission() method. You need to ensure that all future instances of the Customer object implement the GetCommission() method. Which code segment should you use? A . Option AB . Option...
Which CSS3 property should you use?
You are developing a web page that will be divided into three vertical sections. The main content of the site will be placed in the center section. The two outer sections will contain advertisements. You have the following requirements: • The main content section must be set to two times...
Which code segment should you use?
You are creating a web form that users will use to enter their personal information. The form includes the following HTML. You have the following requirements: • When a user enters an input box, the cell on the right must turn green. • When a user leaves an input box,...
Which line of code should you use?
Topic 2, Volume B You are developing a web page that consumes a Windows Communication Foundation (WCF) service. The page includes the following code segment. var xhr = new XMLHttpRequest() ; The page uses the xhrHandler() method to listen for changes to the request status of the WCF service calls....
Which line of code should you use?
You are developing an HTML5 web page. The appearance of the text box must change when a user moves the focus to another element on the page. You need to develop the page to respond to user action. Which line of code should you use?A . <input type="text" onblur="resetStyle(this);" />B...
Which line of code should you use?
You are testing the value of the following variable in JavaScript. var height = "300"; A block of code must execute if the following conditions are true: • The height variable is set to 300 • The height variable is of type string You need to implement the code to...