Which lines of code should you use?
You are developing an HTML5 page that has an element with an ID of logo. The page includes the following HTML. <div> Logo:<br> <div id="logo"> </div> </div> You need to move the logo element lower on the page by five pixels. Which lines of code should you use? (Each correct...
Which function should you use?
You are developing a web form that includes the following code. When a user selects the check box, an input text box must be added to the page dynamically. You need to ensure that the text box is added. Which function should you use? A . Option AB . Option...
Which line of code should you use?
DRAG DROP You are creating a web worker for an HTML5 application. The following tasks must be performed from within the web worker: • Register an event listener for the web worker • Start and stop the web worker You need to define a function that performs the required tasks....
What should you do?
DRAG DROP You are developing a web application that retrieves data from a web service. The data being retrieved is a custom binary datatype named bint. The data can also be represented in XML. Two existing methods named parseXml() and parseBint() are defined on the page. The application must: •...
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 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...
Which HTML5 element should you use?
You are developing an HTML5 web application for a surveyor company that displays topographic images. The application must: • Display the topographic images at different zoom levels without loss of detail • Print the topographic images without loss of detail • Work from only one source file for each topographic...
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...
Which two lines of code should you use?
You are developing an HTML5 page that has an element with an ID of picture. The page includes the following HTML. You need to move the picture element lower on the page by five pixels. Which two lines of code should you use? (Each correct answer presents part of the...
Which CSS segment should you use?
You are developing a web page. You create a grid layout by using the following CSS segment. You have the following requirements: • You must place content in the first column of the second row. • The content must span two columns. You need to ensure that the style of...