Chat with us

Read online free dumps for Microsoft- 70-480

Here you can read online questions and answers for Microsoft Exam 70-480 (Programming in HTML5 with JavaScript and CSS3 ) 100% free...

Question ID 14817

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 apply the styles from highest priority to lowest priority.
In which order should you use the five style sheets? (To answer, move the style sheet
types from the list of style sheet types to the answer area and arrange them in the correct

Option A

* From highest priority to lowest priority. User important style sheets Author important style sheets Author normal style sheets User normal style sheets User agent style sheets * CSS declarations are applied in this order (from lowest to highest priority): User agent declarations (the default styles your browser applies to elements) User normal declarations (a user's own stylesheet if they're using one) Author normal declarations (this is your normal stylesheet) Author important declarations (anything your mark important) User important declarations (any important styles from the user's stylesheet).

Correct Answer A
Update Date and Time 2017-11-10 11:12:58

Question ID 14818

An HTML page has a canvas element.
You need to draw a red rectangle on the canvas element dynamically. The rectangle
should resemble the following graphic.

How should you build the code segment? (To answer, select the appropriate options from
the drop-down lists in the answer area.)

Option A

* getElementById The getElementById() method accesses the first element with the specified id. We use it to get a reference to the canvas. * context.fillStyle. Example: Define a red fill-color for the rectangle: JavaScript: var c=document.getElementById("myCanvas"); var ctx=c.getContext("2d"); ctx.fillStyle="#FF0000"; ctx.fillRect(20,20,150,100);

Correct Answer A
Update Date and Time 2017-11-11 06:36:17