Which two actions will achieve this goal?
You are developing a web application that consumes services from a third-party application. A web worker processes the third-party application requests in the background. A page in the application instantiates the web worker process. You need to establish two-way communications between the web worker process and the page. Which two...
Which expression should you insert into each function?
Topic 1, Volume A 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...
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...
Which CSS3 style should you use?
You are developing a web page by using HTML5. You have the following requirements: • An H1 element must be placed at the top left corner of the page. • The size and location of the H1 element must not change if additional elements are added to the page. You...
How should you develop the form?
DRAG DROP You are developing a form that captures a user's email address by using HTML5 and jQuery. The form must capture the email address and return it as a query string parameter. The query string parameter must display the @ symbol that is used in the email address. You...
Which jQuery code segment or segments should you use?
DRAG DROP You are developing a website that has many web pages with hyperlinks to other sites. You need to ensure that if a hyperlink contains an image, the linked web page opens in a new window. Which jQuery code segment or segments should you use? (To answer, drag the...
Which code segments should you use?
You are creating a class named Consultant that must inherit from the Employee class. The Consultant class must modify the inherited PayEmployee method. The Employee class is defined as follows. function Employee() {} Employee.prototype.PayEmployee = function ( ){ alert('Hi there!'); } Future instances of Consultant must be created with the...
Which HTML should you use?
You are developing a customer web form that includes the following HTML. <input id="txtValue"/> You need to change the HTML markup so that customers can enter only a valid three-letter country code. Which HTML should you use?A . <input id="txtValue" type="code" />B . <input id="txtValue" type="text" pattern=" [A-Za-z] {3}" />C...
Which line or lines of code should you use?
DRAG DROP You are developing an airline reservation website by using HTML5 and JavaScript. A page on the site allows users to enter departure and destination airport information and to search for tickets. You have the following requirements: • Users must be able to save information in the application about...
How should you build the code?
DRAG DROP You are developing a web page that will be accessed from various types of devices. • You have the following requirements: • The appropriate display resolution must be selected dynamically based on the device that is connecting to the page. • Mobile devices with a maximum width of...