You work as a senior developer at ABC.com. The ABC.com network consists of a single domain named ABC.com.
You are running a training exercise for junior developers. You are currently discussing an event of the HTML CANVAS
element that transpires when the text content of an element is altered via the user interface.
Which of the following is the event being discussed?
A
Which two events are supported on touch devices? (Choose two.)
A B
Explanation:
when the user touches the screen both touch and click events will occur.
The touchstart event
A user agent must dispatch this event type to indicate when the user places a touch point on the touch surface.
Note:
The main touch events are:
touchstart triggered when a touch is detected touchmove triggered when a touch movement is detected
touchend triggered when a touch is removed e.g. the users finger is removed from the touchscreen touchcancel triggered
when a touch is interrupted, e.g. if touch moves outside of the touch-capable area
An HTML5 application can run without an Internet connection if:
D
You need to ensure the scope of a variable named j is limited to the block of a single function named foo(). Which JavaScript
code fragment will accomplish this?
A
You add a div object to a page.
Which CSS3 code fragment will add a scrollbar only if the content exceeds the width or height of the object?
A
You work as a senior developer at ABC.com. The ABC.com network consists of a single domain named ABC.com.
You are running a training exercise for junior developers. You are currently discussing a method of the File API that returns a
new Blob object with bytes ranging from its optional start parameter up to but not including its optional end parameter.
Which of the following is the method being discussed?
D
Which HTML5 tag defines superscript text?
C
You work as a senior developer at ABC.com. The ABC.com network consists of a single domain named ABC.com.
You are running a training exercise for junior developers. You are currently discussing an HTML5 element that identifies a
header cell in a table.
Which of the following is the element being discussed?
A
On a Windows touch device, which gesture serves the same purpose as a right-click of the mouse?
D
You work as a senior developer at ABC.com. The ABC.com network consists of a single domain named ABC.com.
You are running a training exercise for junior developers. You are currently discussing a method associated with the
localStorage object. The method can be used to write data to local storage.
Which of the following is the method being discussed?
C