Which JavaScript function should you use?
You develop a webpage that allows a user to download a 3PEG image and convert it to a PNG file.
You need to implement the code to download the contents of the JPEG image with no additional
decoding.
Which JavaScript function should you use?
How should you complete the relevant code?
DRAG DROP
You are developing a shared library to format information. The library contains a method named _private.
The _private method must never be called directly from outside of the shared library.
You need to implement an API for the shared library.
How should you complete the relevant code? (Develop the solution by selecting the required code
segments and arranging them in the correct order. You may not need all of the code segments.)
Which CSS selector should you use?
You develop an HTML application that contains a table that displays a list of products. The table is
defined with the following HTML markup:
You must style the table to look like the following image:
You need to implement the CSS selectors to select the rows that must have a blue background.
Which CSS selector should you use?
You need to ensure that the value that the user enters contains a secure URL
You develop a webpage by using HTML5. You create the following markup:
<input type “url” name= “website” required=”required” />
You need to ensure that the value that the user enters contains a secure URL.
What should you do?
Which code segment should you insert at line 04?
How should you complete the relevant code?
HOTSPOT
You develop an interactive scalable vector graphics (SVG) application. You write the following HTML
markup that makes a rectangle rotate:
You need to control the speed of the rotating rectangle.
How should you complete the relevant code? (To answer, select the appropriate option from each
drop-down list in the answer area.)
Which five actions should you perform in sequence?
DRAG DROP
You create a webpage that includes the following HTML markup: (Line numbers are included for reference only.)
You need to ensure that a form cannot be submitted unless the INPUT element contains the word OK.
Which five actions should you perform in sequence? (To answer, move the appropriate actions from
the list of actions to the answer area and arrange them in the correct order.)
How should you complete the relevant code?
DRAG DROP
You are implementing a web worker by using JavaScript and HTML5. The web worker processes a
long-running loop and returns the result to a webpage.
The web worker is defined on the webpage as follows:
You have the following requirements:
Evaluate the message value in the web worker.
Process the loop based on the iterations value that is passed from the webpage.
Return a value back to the webpage from the web worker.
You need to implement the web worker.
How should you complete the relevant code? (To answer, drag the appropriate code segment to the
correct location or locations in the answer area. Use only code segments that apply.)
How does the page render?
Which line of code should you add to the page?
You are creating an HTML5 application that allows users to play video on a page by using the VIDEO
element.
You need to enable the user to start, stop, and pause the video.
Which line of code should you add to the page?