Which line of code should you use?
An HTML page contains no embedded JavaScript or CSS code. The body of the page contains only the following line of code.
<p id=”test”>test</p>
A CSS style sheet must be applied dynamically. The style must visibly change the appearance of the paragraph on the page.
You need to apply a style the paragraph.
Which line of code should you use?
Which code segment should you insert at line 05?
You are developing an application that uses a JavaScript library. The library contains the following functions.
The application uses the following code. (Line numbers are included for reference only.)
The library may throw many types of exceptions. The exceptions are grouped by category.
You need to catch and identify the exceptions by group.
Which code segment should you insert at line 05?
Which code segment should you use?
Which line of code should you insert at line 04?
You create an application that sends information to a web service by using the following code:
(Line numbers are included for reference only.)
When the web service returns a non-zero result code, you must raise an exception that contains the result code.
You need to implement the code that generates the exception.
Which line of code should you insert at line 04?
Which CSS selector should you use?
You are implementing an application by using HTML5 and JavaScript. A web page contains the following HTML table.
The application must:
Identify all rows in the table body that have a class attribute of selected Exclude the last selected row in the table
You need to implement the web page according to the requirements.
Which CSS selector should you use?
You need to invoke the clickReporter() JavaScript funct…
You troubleshoot a webpage that contains the following HTML element:
<canvas id= “clickCanvas” width=”300″> height= “300”>Your browser does not support the HTML5 canvas.</canvas>
The following JavaScript code is included in a script tag in the HEAD section of the webpage:
(Line numbers are included for reference only.)
You need to invoke the clickReporter() JavaScript function when a user clicks the mouse on the canvas HTML element.
What should you do?
You need to update the webpage
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 image
You need to ensure that the topographic images display according to the requirements.
Which HTML5 element should you use?
Which code segment should you use?
Which tag should you use?
You are modifying a blog site to improve search engine readability.
You need to group relevant page content together to maximize search engine readability.
Which tag should you use?