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 CSS3 style should you use?
You develop a webpage.
The webpage must display a grid that contains one row and five columns. Columns one, three, and five are the
same width. Columns two and four are the same width, but much wider than columns one, three, and five. The
grid resembles the following image:
The grid must meet the following requirements:
Each row must be tall enough to ensure that images are not cut off.
Each row must contain five columns.
The width of the columns must not change when the screen is resized or rotated.
You need to define the style for the grid. Which CSS3 style should you use?
Hot Area:
HOTSPOT
You review code that uses WebSockets for a browser-based multiplayer game. Each player sends a move to
the server, which then sends the move to all connected game instances. The following code runs in the browser
and handles the sending and receiving of moves:
For each statement in the table, select Yes if the code segment above causes the page to behave as
described. Select No if it does not. Make only one selection in each column.
Hot Area:
Hot Area:
HOTSPOT
You are reviewing the CSS markup for an HTML5 page that displays a news article. The CSS markup for the
page is as follows:
The HTML markup for the page is as follows:
For each statement in the table, select Yes if the code segments above causes the page to behave as
described. Select No if it does not. Make only one selection in each column.
Hot Area:
You need to determine how the webpage will appear when …
which order will the five style sheets be applied?
DRAG DROP
You are creating an application by using HTML5 and CSS3. The styles for the pages are derived from five style
sheets.
The styles are not being applied correctly to the pages in the application.
You need to determine the order in which the style sheets will be applied by the browser.
In which order will the five style sheets be applied? (To answer, move the style sheet types from the list of style
sheet types to the answer area and arrange them in the order that they will be applied.)
Select and Place:
Which value is valid for the text-transform property?
You are developing an HTML5 web application and are styling text.
You need to use the text-transform CSS property.
Which value is valid for the text-transform property?