Want to know Ucertify microsoft exam 70 480 Exam practice test features? Want to lear more about Microsoft Programming in HTML5 with JavaScript and CSS3 certification experience? Study Best Quality Microsoft exam 70 480 pdf answers to Up to the immediate present exam ref 70 480 questions at Ucertify. Gat a success with an absolute guarantee to pass Microsoft 70 480 programming in html5 with javascript and css3 (Programming in HTML5 with JavaScript and CSS3) test on your first attempt.
Q1. You are developing an application that processes order information. Thousands of orders are processed daily. The application includes the following code segment. (Line numbers are included for reference only.)
The application must:
. Display the number of orders processed and the number of orders remaining . Update the display for every 25th record processed
You need to develop the application to meet these requirements.
Which line of code should you insert at line 04?
A. if (!(counter % 25))
B. if (counter == 25)
C. if (counter >> 25 == 0)
D. if (counter >> 25 == 0)
Answer: A
Q2. You are developing a web page that includes the following HTML.
<span id = "myTextSpan" class = "redText"> Hello There! </span>
The font color of text inside the span must be red.
You need to develop the web page to meet the requirement.
Which two CSS segments will achieve the goal? (Each correct answer presents a complete solution. Choose two.)
A. Option A
B. Option B
C. Option C
D. Option D
Answer: AC
Q3. 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?
A. Option A
B. Option B
C. Option C
D. Option D
Answer: C
Q4. You are developing a JavaScript library.
You have the following requirements:
Custom exceptions must include an error message and custom error number. These exceptions must be thrown when data validation errors occur. Developers must call the library to easily catch the exception and identify the problem.
You develop the following code. (Line numbers are included for reference only.)
You need to complete the code to meet the requirements.
Which line of code should you insert at line 09?
A. throw new Validatior.Exception (123, "Day of week must be les3 than 7");
B. return new ValidationException(123, "Day of week must be less than 7");
C. throw ValidationException(123, "Day of week must be less than 7");
D. catch ValidationException(123, "Day of week: must be less than 7");
Answer: A
Q5. You are creating a web page that contains a canvas with text.
The page contains the following JavaScript code. (Line numbers are included for reference only.)
The text on the canvas must rotate 90 degrees when a user clicks a button on the page.
You need to ensure that the text rotates when the user clicks the button.
Which line of code should you add at line 03?
A. context.transform(90);
B. context.content.getRotation(90);
C. context.rotate(90);
D. context.content.rotate (90);
Answer: C
Q6. You develop an HTML5 application for a company. Employees must enter a personal identification number (PIN) in an INPUT element named SecurityCode to access their employee records.
The SecurityCode element must meet the following requirements:
Allow up to 6 digits.
Do not display numbers as they are entered.
Display the text Enter PIN Code before the user enters any data.
You need to implement the SecurityCode element.
Which HTML markup should you add to the application?
A. Option A
B. Option B
C. Option C
D. Option D
E. Option E
Answer: D
Q7. You develop an HTML application that is located at www.adventure-works.com. The application must load JSON data from www.fabrikam.com.
You need to choose an approach for loading the data.
What should you do?
A. Add a crossdomain.xml file to the second server.
B. Configure Cross-Origin Resource Sharing (CORS) on the servers.
C. Load the data in a JavaScript timeout callback.
D. Reference the remote data as an XML resource.
Answer: B
Q8. 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 need to implement the CSS selectors to select the rows that must have a blue background.
Which CSS selector should you use?
A. thead:only-child, tbody:after, table:before
B. tr [line |-0, 1, 3]
C. tr:first-of-type, tr:last-of-type
D. tr:first-line, tr:last-child
Answer: B
Q9. You are creating a custom object as described by the following code.
A. Option A
B. Option B
C. Option C
D. Option D
Answer: D
Q10. You are developing an HTML5 page that includes several paragraph elements.
You have the following requirements:
. Add a drop shadow that is one inch below the text in the paragraph
. Set the radius of the drop shadow to five pixels
You need to style the paragraphs to meet the requirements.
Which CSS style should you use?
A. Text-shadow: 72pt 0pt 5pt
B. Text-shadow: 5px lin 0px;
C. Text-shadow: 72pt 0em 5px;
D. Text-shadow: 100px 0px 5px;
Answer: B